VDB
Sign up
HIGH7.5

GHSA-9342-92gg-6v29

Jakarta Mail vulnerable to SMTP Injection

Quick fix

GHSA-9342-92gg-6v29 — org.eclipse.angus:smtp: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.0.4</version> for org.eclipse.angus:smtp

Details

In Jakarta Mail 2.2 it is possible to preform a SMTP Injection by utilizing the \r and \n UTF-8 characters to separate different messages.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.eclipse.angus:smtp
Introduced in: 0Fixed in: 2.0.4
Fix# pom.xml: bump <version>2.0.4</version> for org.eclipse.angus:smtp
Maven/com.sun.mail:jakarta.mail
Introduced in: 0Fixed in: 1.6.8
Fix# pom.xml: bump <version>1.6.8</version> for com.sun.mail:jakarta.mail
Maven/com.sun.mail:jakarta.mail
Introduced in: 2.0.0Fixed in: 2.0.2
Fix# pom.xml: bump <version>2.0.2</version> for com.sun.mail:jakarta.mail

References