CVE Catalog

GHSA-8c8m-p3m8-cjg8

Medium
Published: —Translated: NVD NIST

Summary

RFC 5322 comments can be nested, but addressparser ends a comment at the first `)`, including the one closing a nested comment, and parses the remainder of the outer comment as header text. This leads to incorrect email address interpretation.

Risk Assessment

An attacker can craft an email header to mislead the parser and cause incorrect sender address attribution, potentially resulting in spoofing or filter bypass.

Recommendation

Update addressparser to a patched version that handles nested comments per RFC 5322. Test the application for susceptibility to crafted headers.

Other vulnerabilities in addressparser

See all
Original NVD description (English source)

### Vulnerability summary RFC 5322 comments nest. addressparser ended a comment at the first `)`, including the one that closes a nested comment, and parsed the rest of the outer comment as header text. `Victim (x(y) <[email protected]>) <[email protected]>` names `[email protected]` with `x(y) <[email protected]>`

Vulnerability data from NVD (NIST) · CISA KEV · EPSS