Skip to main content

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CVE-2024-21742

Severity Medium
Score 5.3/10

Summary

Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing messages. This can be exploited by an attacker to add unintended headers to MIME messages. This issue affects org.apache.james:apache-mime4j-core versions 0.7 through 0.8.9 and org.apache.james:apache-mime4j versions 0.6 through 0.8.9.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • NONE

CWE-74 - Injection

Listed as the number one web application security risk on the 'OWASP Top Ten', injection attacks are widespread and dangerous, especially in legacy applications. Injection attacks are a class of vulnerabilities in which an attacker injects untrusted data into a web application that gets processed by an interpreter, altering the program's execution. This can result in data loss/theft, loss of data integrity, denial of service, and even compromising the entire system.

Advisory Timeline

  • Published