383
Inputs should be decoded and canonicalized to the application's current internal representation
before being validated (CWE-180). Make sure that the application does not decode the same
input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by
introducing dangerous inputs after they have been checked.
Observed Examples
Reference Description
CVE-2004-1982 Carriage returns in subject field allow adding new records to data file.
https://www.cve.org/CVERecord?id=CVE-2004-1982
CVE-2001-0527 Attacker inserts carriage returns and "|" field separator characters to add new
user/privileges.
https://www.cve.org/CVERecord?id=CVE-2001-0527
MemberOf Relationships
This MemberOf relationships table shows additional CWE Catgeories and Views that reference this
weakness as a member. This information is often useful in understanding where a weakness fits
within the context of external information sources.
Nature Type ID Name Page
MemberOf 990 SFP Secondary Cluster: Tainted Input to Command 888 2413
MemberOf 1407 Comprehensive Categorization: Improper Neutralization 1400 2532
Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
PLOVER Record Delimiter
Software Fault Patterns SFP24 Tainted input to command
References
[REF-62]Mark Dowd, John McDonald and Justin Schuh. "The Art of Software Security
Assessment". 1st Edition. 2006. Addison Wesley.
CWE-144: Improper Neutralization of Line Delimiters
Weakness ID : 144
Structure : Simple
Abstraction : Variant
Description
The product receives input from an upstream component, but it does not neutralize or incorrectly
neutralizes special elements that could be interpreted as line delimiters when they are sent to a
downstream component.
Extended Description
As data is parsed, an injected/absent/malformed delimiter may cause the process to take
unexpected actions.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 140 Improper Neutralization of Delimiters 376
CWE Version 4.14
CWE-144: Improper Neutralization of Line Delimiters
CWE-144: Improper Neutralization of Line Delimiters