CVE-2024-46957 Mellium allows Authentication Bypass by Spoofing

Critical 9.8 Published Updated

Attackers can spoof XMPP responses by exploiting predictable IDs and missing stanza type checks in the Mellium Go library.

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

What is CVE-2024-46957?

CVE-2024-46957 is a critical vulnerability in n/a, published on 24 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Mellium mellium.im/xmpp 0.0.1 through 0.21.4 allows response spoofing if the implementation uses predictable IDs because the stanza type is not checked. This is fixed in 0.22.0.

Weakness: CWE-290

Which versions are affected by CVE-2024-46957?

3 open source packages ship an affected version, including mellium.im/xmpp.

PackageAffectedFixed in
mellium.im/xmpp GoAll versions0.22.0
mellium.im/xmpp GoAll versions0.22.0
mellium.im/xmpp GoAll versions0.22.0

How do I fix CVE-2024-46957?

Upgrade mellium.im/xmpp to 0.22.0 or later.

Is CVE-2024-46957 being exploited?

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

Sources

Also known as GHSA-98hf-m87w-cq6h, GO-2024-3157.

Is CVE-2024-46957 in your software?

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

Check your SBOMs for free