Out-of-Bounds Affecting unixodbc package, versions [0,2.3.6pre)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-UNIXODBC-2369677
  • published26 Jan 2022
  • disclosed26 Feb 2018
  • creditUnknown

Introduced: 26 Feb 2018

CVE-2018-7485  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade unixodbc to version 2.3.6pre or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. 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.

References

CVSS Scores

version 3.1