CVE-2017-9847

NameCVE-2017-9847
DescriptionThe bdecode function in bdecode.cpp in libtorrent 1.1.3 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted file.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs865845

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libtorrent-rasterbar (PTS)wheezy0.15.10-1fixed
wheezy (security)0.15.10-1+deb7u1fixed
jessie0.16.18-1vulnerable
stretch1.1.1-1vulnerable
buster, sid1.1.4-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libtorrent-rasterbarsource(unstable)1.1.4-1medium865845
libtorrent-rasterbarsourcewheezy(not affected)

Notes

[stretch] - libtorrent-rasterbar <no-dsa> (Minor issue)
[jessie] - libtorrent-rasterbar <no-dsa> (Minor issue)
[wheezy] - libtorrent-rasterbar <not-affected> (new bdecode introduced in 1.1.0; vulnerable code not present)
https://github.com/arvidn/libtorrent/issues/2099
Fixed by: https://github.com/arvidn/libtorrent/commit/ec30a5e9ec703afb8abefba757c6d401303b53db
Pre-1.1.0 versions possibly similarly affected in lazy_bdecode.cpp

Search for package or bug name: Reporting problems