GHSA-h6rj-8r3c-9gpj

Suggest an improvement
Source
https://github.com/advisories/GHSA-h6rj-8r3c-9gpj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/03/GHSA-h6rj-8r3c-9gpj/GHSA-h6rj-8r3c-9gpj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h6rj-8r3c-9gpj
Aliases
  • CVE-2015-4412
Published
2018-03-05T19:43:21Z
Modified
2024-02-16T08:07:06.561735Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
bson is vulnerable to denial of service due to incorrect regex validation
Details

BSON injection vulnerability in the legal function in BSON (bson-ruby) gem before 3.0.4 for Ruby allows remote attackers to cause a denial of service (resource consumption) or inject arbitrary data via a crafted string.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:39:12Z"
}
References

Affected packages

RubyGems / bson

Package

Name
bson
Purl
pkg:gem/bson

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.12.3

Affected versions

0.*

0.20
0.20.1

1.*

1.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.9
1.1
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.2.rc0
1.2.rc1
1.2.rc2
1.2.0
1.2.1
1.2.2
1.2.3
1.2.4
1.3.0.rc0
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0.rc0
1.5.0
1.5.1
1.5.2
1.6.0
1.6.1
1.6.2
1.6.4
1.7.0.rc0
1.7.0
1.7.1
1.8.0
1.8.1.rc0
1.8.1.rc1
1.8.1
1.8.2
1.8.3.rc0
1.8.3.rc1
1.8.3
1.8.4.rc0
1.8.4
1.8.5
1.8.6
1.9.0
1.9.1.rc0
1.9.1
1.9.2
1.10.0.rc0
1.10.0.rc1
1.10.0
1.10.1
1.10.2
1.11.1
1.12.0.rc0
1.12.0.rc1
1.12.0.rc2
1.12.0
1.12.1
1.12.2

RubyGems / bson

Package

Name
bson
Purl
pkg:gem/bson

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0
Fixed
3.0.4

Affected versions

2.*

2.0.0
2.1.0
2.1.1
2.1.2
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.3.0

3.*

3.0.0
3.0.1
3.0.2
3.0.3