Name | CVE-2018-7485 |
Description | The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has strncpy arguments in the wrong order, which allows attackers to cause a denial of service or possibly have unspecified other impact. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
unixodbc (PTS) | jessie | 2.3.1-3 | fixed |
| stretch | 2.3.4-1 | fixed |
| buster, bullseye | 2.3.6-0.1 | fixed |
| bookworm | 2.3.11-2+deb12u1 | fixed |
| sid, trixie | 2.3.12-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
unixodbc | source | (unstable) | (not affected) | | | |
Notes
- unixodbc <not-affected> (Vulnerable code introduced later)
https://github.com/lurcher/unixODBC/commit/45ef78e037f578b15fc58938a3a3251655e71d6f#diff-d52750c7ba4e594410438569d8e2963aL24
Issue introduced with https://github.com/lurcher/unixODBC/commit/4f9f77fb4204659ec9b7be8745d9e05a539c80b9
when actually fixing another potential (security) issue, "Buffer
overflows and missing null checks in SQLConfigDataSource,
SQLInstallDriverEx, and SQLWriteFileDSN"