Arbitrary Code Injection Affecting apache-mime4j package, versions <0.8.10-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.09% (62nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIANUNSTABLE-APACHEMIME4J-6282403
  • published28 Feb 2024
  • disclosed27 Feb 2024

Introduced: 27 Feb 2024

CVE-2024-21742  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade Debian:unstable apache-mime4j to version 0.8.10-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream apache-mime4j package and not the apache-mime4j package as distributed by Debian. See How to fix? for Debian:unstable relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1