CVE-2018-7485Improper Restriction of Operations within the Bounds of a Memory Buffer in Unixodbc

Severity
9.8CRITICALNVD
EPSS
0.4%
top 37.90%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedFeb 26
Latest updateMay 14

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

Patches

🔴Vulnerability Details

1
GHSA
GHSA-2fc5-5jjf-fmx7: The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN2022-05-14

📋Vendor Advisories

2
Red Hat
unixODBC: Insecure buffer copy in SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c2018-02-27
Debian
CVE-2018-7485: unixodbc - The SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c in unixODBC 2.3.5 has...2018

💬Community

2
Bugzilla
CVE-2018-7485 unixODBC: Insecure buffer copy in SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c2018-02-27
Bugzilla
CVE-2018-7485 unixODBC: Insecure buffer copy in SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c [fedora-all]2018-02-27
CVE-2018-7485 — Unixodbc vulnerability | cvebase