CVE-2018-6480 Memory corruption in n/a

High 8.8 Published Updated

A type confusion in CCN-lite causes memory access violations and nonce failures, potentially leading to denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2018-6480?

CVE-2018-6480 is a high-severity memory corruption vulnerability in n/a, published on 31 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest assumes that the union member s is of type ccnl_pktdetail_ndntlv_s. However, if the type is in fact struct ccnl_pktdetail_ccntlv_s or struct ccnl_pktdetail_iottlv_s, the memory at that point is either uninitialised or points to data that is not a nonce, which renders the code using the local variable nonce pointless. A later nonce check is insufficient.

Weakness: CWE-704

Which versions are affected by CVE-2018-6480?

It affects 1 product.

Products include Ccn-Lite Ccn-Lite.

How do I fix CVE-2018-6480?

No fix has been published for CVE-2018-6480 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2018-6480 being exploited?

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

Sources

Also known as GHSA-678v-754j-47w8.

Is CVE-2018-6480 in your software?

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

Check your SBOMs for free