CVE-2018-7485 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can cause denial of service or other impacts via incorrect strncpy arguments in the unixODBC library's SQLWriteFileDSN function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-7485?

CVE-2018-7485 is a critical memory corruption vulnerability in n/a, published on 26 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-119

Which versions are affected by CVE-2018-7485?

It affects 1 product.

Products include Unixodbc Unixodbc.

How do I fix CVE-2018-7485?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-7485 being exploited?

There is no known exploitation of CVE-2018-7485 in the wild and no public exploit code.

Sources

Also known as GHSA-2fc5-5jjf-fmx7.

Is CVE-2018-7485 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free