CVE-2016-6153

NameCVE-2016-6153
Descriptionos_unix.c in SQLite before 3.13.0 improperly implements the temporary directory search algorithm, which might allow local users to obtain sensitive information, cause a denial of service (application crash), or have unspecified other impact by leveraging use of the current working directory for temporary files.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3431-1, DLA-543-1, ELA-850-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
sqlite (PTS)jessie, jessie (lts)2.8.17-12+deb8u1fixed
stretch (lts), stretch2.8.17-14+deb9u1fixed
buster (security), buster, buster (lts)2.8.17-15+deb10u1fixed
sqlite3 (PTS)jessie, jessie (lts)3.8.7.1-1+deb8u8fixed
stretch (security)3.16.2-5+deb9u3fixed
stretch (lts), stretch3.16.2-5+deb9u4fixed
buster, buster (lts)3.27.2-3+deb10u3fixed
buster (security)3.27.2-3+deb10u2fixed
bullseye3.34.1-3fixed
bullseye (security)3.34.1-3+deb11u1fixed
bookworm3.40.1-2+deb12u1fixed
sid, trixie3.46.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sqlitesourcejessie2.8.17-12+deb8u1ELA-850-1
sqlitesourcestretch2.8.17-14+deb9u1ELA-850-1
sqlitesourcebuster2.8.17-15+deb10u1DLA-3431-1
sqlitesource(unstable)(unfixed)
sqlite3sourcewheezy3.7.13-1+deb7u3DLA-543-1
sqlite3sourcejessie3.8.7.1-1+deb8u2
sqlite3source(unstable)3.13.0-1

Notes

http://www.sqlite.org/cgi/src/info/67985761aa93fb61
http://www.sqlite.org/cgi/src/info/b38fe522cfc971b3
and possibly http://www.sqlite.org/cgi/src/info/614bb709d34e1148
https://www.korelogic.com/Resources/Advisories/KL-001-2016-003.txt
Vulnerable code in os.c:sqliteOsTempFileName() for sqlite(v2)

Search for package or bug name: Reporting problems