CVE-2024-27938
What it is
Postal is an open source SMTP server. Postal versions less than 3.0.0 are vulnerable to SMTP Smuggling attacks which may allow incoming e-mails to be spoofed. This, in conjunction with a cooperative outgoing SMTP service, would allow for an incoming e-mail to be received by Postal addressed from a server that a user has 'authorised' to send mail on their behalf but were not the genuine author of the e-mail. Postal is not affected for sending outgoing e-mails as email is re-encoded with `<CR><LF>` line endings when transmitted over SMTP. This issue has been addressed and users should upgrade to Postal v3.0.0 or higher. Once upgraded, Postal will only accept End of DATA sequences which are explicitly `<CR><LF>.<CR><LF>`. If a non-compliant sequence is detected it will be logged to the SMTP server log. There are no workarounds for this issue.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 5.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-116
- Record status
- Analyzed
Affected
- Postalserver Postal < 3.0.0
Attack profile CVSS 3.1 · 5.3
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2024-27938.md and follow it. Check whether this project is affected by CVE-2024-27938. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/postalserver/postal/commit/0140dc4
- https://github.com/postalserver/postal/security/advisories/GHSA-j42r-6c99-hqf2
- https://github.com/postalserver/postal/commit/0140dc4
- https://github.com/postalserver/postal/security/advisories/GHSA-j42r-6c99-hqf2
References
- https://github.com/postalserver/postal/commit/0140dc4
- https://github.com/postalserver/postal/security/advisories/GHSA-j42r-6c99-hqf2
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide
- https://www.postfix.org/smtp-smuggling.html
- https://github.com/postalserver/postal/commit/0140dc4
- https://github.com/postalserver/postal/security/advisories/GHSA-j42r-6c99-hqf2
- https://sec-consult.com/blog/detail/smtp-smuggling-spoofing-e-mails-worldwide
- https://www.postfix.org/smtp-smuggling.html