CVE-2013-4122

NameCVE-2013-4122
DescriptionCyrus SASL 2.1.23, 2.1.26, and earlier does not properly handle when a NULL value is returned upon an error by the crypt function as implemented in glibc 2.17 and later, which allows remote attackers to cause a denial of service (thread crash and consumption) via (1) an invalid salt or, when FIPS-140 is enabled, a (2) DES or (3) MD5 encrypted password, which triggers a NULL pointer dereference.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3368-1
NVD severitymedium (attack range: remote)
Debian Bugs716835, 784112

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cyrus-sasl2 (PTS)wheezy2.1.25.dfsg1-6+deb7u1fixed
jessie (security), jessie2.1.26.dfsg1-13+deb8u1fixed
buster, sid, stretch2.1.27~101-g0780600+dfsg-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cyrus-sasl2source(unstable)2.1.26.dfsg1-14medium716835, 784112
cyrus-sasl2sourcejessie2.1.26.dfsg1-13+deb8u1mediumDSA-3368-1
cyrus-sasl2sourcesqueeze(not affected)
cyrus-sasl2sourcewheezy(not affected)

Notes

[wheezy] - cyrus-sasl2 <not-affected> (Only exploitable with eglibc 2.17 and later)
[squeeze] - cyrus-sasl2 <not-affected> (Only exploitable with eglibc 2.17 and later)
http://openwall.com/lists/oss-security/2013/07/12/3
http://git.cyrusimap.org/cyrus-sasl/commit/?id=dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d
https://bugzilla.cyrusimap.org/show_bug.cgi?id=3803
https://bugzilla.cyrusimap.org/show_bug.cgi?id=3806
Was originally already fixed in 2.1.25.dfsg1-14 (cf. #716835)

Search for package or bug name: Reporting problems