Description
The match_component function in smtp-tls.c in libESMTP 1.0.3.r1, and possibly other versions including 1.0.4, treats two strings as equal if one is a substring of the other, which allows remote attackers to spoof trusted certificates via a crafted subjectAltName.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libesmtp | 1.0.4-2 | — |
| Debian 13 | libesmtp | 1.0.4-2 | — |
| Debian 12 | libesmtp | 1.0.4-2 | — |
References
- [oss-security] 20100309 Re: CVE Request: libesmtp does not check NULL bytes in commonName mailing-list
- ADV-2010-1107 vdb-entry
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311191
- SUSE-SR:2010:011 vendor-advisory
- [oss-security] 20100303 CVE Request: libesmtp does not check NULL bytes in commonName mailing-list