CVE-2018-7485
unixODBC: Insecure buffer copy in SQLWriteFileDSN function in odbcinst/SQLWriteFileDSN.c
Overview
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: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-119
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 4 fixes
Oracle Linux 1 release · 1 package
fixed 1
unixodbc
| Release | Package | Fixed in |
|---|---|---|
| 7 | unixodbc +1 | 2.3.1-14.0.1.el7 |
Red Hat 1 release · 1 package
fixed 2
unixodbc
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | unixodbc +1 | 0:2.3.1-14.el7 | RHSA-2019:2336 |
| 7 | unixodbc +1 | 0:2.3.1-14.el7_6 | RHSA-2020:4999 |
openSUSE 1 release · 1 package
fixed 1
libodbc2
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libodbc2 +5 | 2.3.9-3.4 | openSUSE-SU-2024:11483-1 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/103193
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:2336
- access.redhat.com https://access.redhat.com/security/cve/CVE-2018-7485
- github.com https://github.com/lurcher/unixODBC/commit/45ef78e037f578b15fc58938a3a3251655e71d6f#diff-d52750c7ba4e594410438569d8e2963aL24
- linux.oracle.com https://linux.oracle.com/cve/CVE-2018-7485.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2019-2336.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-7485
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2018-7485
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.