Buffer overflow in Unixodbc

CVE-2018-7485

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.

Vulnerability class: Buffer Overflow

EPSS: 0.031 (86.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Unixodbc — versions 2.3.5
  • N/a — versions n/a

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-7485?
CVE-2018-7485 is a critical-severity vulnerability in Unixodbc, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2018-02-26.
How severe is CVE-2018-7485?
Critical severity. CVSS v3 base score is 9.8 out of 10.