CWE
20 74
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2024-21742: Apache James Mime4J: Mime4J DOM header injection

First published: Tue Feb 27 2024(Updated: )

Improper input validation allows for header injection in MIME4J library when using MIME4J DOM for composing message. This can be exploited by an attacker to add unintended headers to MIME messages.

Credit: security@apache.org security@apache.org

Affected SoftwareAffected VersionHow to fix
maven/org.apache.james:apache-mime4j-core<0.8.10
0.8.10
Apache James<=0.8.9

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-21742?

    CVE-2024-21742 has been classified as a moderate severity vulnerability due to the potential for header injection.

  • How do I fix CVE-2024-21742?

    To fix CVE-2024-21742, upgrade the Apache Mime4j library to version 0.8.10 or later.

  • What is the impact of CVE-2024-21742?

    The impact of CVE-2024-21742 includes the ability for attackers to manipulate MIME message headers, which could lead to unauthorized access or data leakage.

  • Which versions are affected by CVE-2024-21742?

    CVE-2024-21742 affects Apache Mime4j versions prior to 0.8.10 and Apache James Mime4j versions up to 0.8.9.

  • Who is vulnerable to CVE-2024-21742?

    Any application using vulnerable versions of the Apache Mime4j library for message composition is at risk from CVE-2024-21742.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203