CVE-2024-4227 gSOAP: Vulnerable to specially crafted unencrypted SDC messages
An unauthenticated remote attacker can cause a denial of service via high CPU load in gSOAP when parsing XML with duplicate ID attributes under specific configurations.
- 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-4227?
CVE-2024-4227 is a high-severity denial of service vulnerability in Genivia gSOAP, published on 15 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Genivia gSOAP with a specific configuration an unauthenticated remote attacker can generate a high CPU load when forcing to parse an XML having duplicate ID attributes which can lead to a DoS.
Weakness: CWE-834
Which versions are affected by CVE-2024-4227?
How do I fix CVE-2024-4227?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-4227 being exploited?
There is no known exploitation of CVE-2024-4227 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2024-4227, GHSA-v23x-2mww-cc32, OESA-2026-1189, UBUNTU-CVE-2024-4227.