CVE-2018-16396

NameCVE-2018-16396
DescriptionAn issue was discovered in Ruby before 2.3.8, 2.4.x before 2.4.5, 2.5.x before 2.5.2, and 2.6.x before 2.6.0-preview3. It does not taint strings that result from unpacking tainted strings with some formats.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1558-1, DSA-4332-1
Debian Bugs911920

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby2.1 (PTS)jessie2.1.5-2+deb8u3vulnerable
jessie (security)2.1.5-2+deb8u6fixed
ruby2.3 (PTS)stretch2.3.3-1+deb9u2vulnerable
stretch (security)2.3.3-1+deb9u4fixed
ruby2.5 (PTS)buster, sid2.5.3-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby2.1source(unstable)(unfixed)
ruby2.1sourcejessie2.1.5-2+deb8u6DLA-1558-1
ruby2.3source(unstable)(unfixed)
ruby2.3sourcestretch2.3.3-1+deb9u4DSA-4332-1
ruby2.5source(unstable)2.5.3-1911920

Notes

https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/
https://github.com/ruby/ruby/commit/a2958f6743664006d21fc0bafd4ca6214df1d429

Search for package or bug name: Reporting problems