CVE-2015-4411 BSON rubygem contains potential denial of service

High 7.5 Published Updated

Remote attackers can cause denial of service via resource consumption using crafted strings in the BSON ObjectId validation method.

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

What is CVE-2015-4411?

CVE-2015-4411 is a high-severity denial of service vulnerability in Fedoraproject Fedora, published on 20 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Moped::BSON::ObjecId.legal? method in mongodb/bson-ruby before 3.0.4 as used in rubygem-moped allows remote attackers to cause a denial of service (worker resource consumption) via a crafted string. NOTE: This issue is due to an incomplete fix to CVE-2015-4410.

Weakness: CWE-400

Which versions are affected by CVE-2015-4411?

2 open source packages ship an affected version, including bson. It affects 2 products.

PackageAffectedFixed in
bson RubyGemsAll versions3.0.4
bson RubyGemsAll versions3.0.4

Products include Fedoraproject Fedora, Mongodb Bson.

How do I fix CVE-2015-4411?

Upgrade bson to 3.0.4 or later.

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-2015-4411 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-qh4w-7pw3-p4rp.

Is CVE-2015-4411 in your software?

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

Check your SBOMs for free