CVE-2020-12135
published 2020-04-24CVE-2020-12135: bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter…
PriorityP420medium5.5CVSS 3.1
AVLACLPRNUIRSUCNINAH
EPSS
1.17%
63.4th percentile
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | duo-unix | — | — |
| mongodb | c_driver | < 0.8 | 0.8 |
| whoopsie_project | whoopsie | <= 0.2.69 | — |
| whoopsie_project | whoopsie | >= 0 < 0.2.52.5ubuntu0.5 | 0.2.52.5ubuntu0.5 |
| whoopsie_project | whoopsie | >= 0 < 0.2.62ubuntu0.5 | 0.2.62ubuntu0.5 |
| whoopsie_project | whoopsie | >= 0 < 0.2.69ubuntu0.1 | 0.2.69ubuntu0.1 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
osv5.5MEDIUM
vendor_redhat8.8HIGH
vendor_debian5.5LOW
vendor_ubuntu5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Whoopsie vulnerabilities
vendor_ubuntu·2020-08-04·CVSS 5.5
CVE-2020-11937 [MEDIUM] Whoopsie vulnerabilities
Title: Whoopsie vulnerabilities
Summary: Several security issues were fixed in whoopsie.
Seong-Joong Kim discovered that Whoopsie incorrectly handled memory. A
local attacker could use this issue to cause Whoopsie to consume memory,
resulting in a denial of service. (CVE-2020-11937)
Seong-Joong Kim discovered that Whoopsie incorrectly handled parsing files.
A local attacker could use this issue to cause Whoopsie to crash, resulting
in a denial of service, or possibly execute arbitrary code.
(CVE-2020-12135)
Seong-Joong Kim discovered that Whoopsie incorrectly handled memory. A
local attacker could use this issue to cause Whoopsie to consume memory,
resulting in a denial of service. (CVE-2020-15570)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
xen: bad continuation handling in GNTTABOP_copy (XSA-318)
vendor_redhat·2020-04-14·CVSS 8.8
CVE-2020-11742 [HIGH] CWE-393 xen: bad continuation handling in GNTTABOP_copy (XSA-318)
xen: bad continuation handling in GNTTABOP_copy (XSA-318)
An issue was discovered in Xen through 4.13.x, allowing guest OS users to cause a denial of service because of bad continuation handling in GNTTABOP_copy. Grant table operations are expected to return 0 for success, and a negative number for errors. The fix for CVE-2017-12135 introduced a path through grant copy handling where success may be returned to the caller without any action taken. In particular, the status fields of individual operations are left uninitialised, and may result in errant behaviour in the caller of GNTTABOP_copy. A buggy or malicious guest can construct its grant table in such a way that, when a backend domain tries to copy a grant, it hits the incorrect exit path. This returns success to the caller without d
Red Hat
bson: integer overflow in bson_ensure_space() parameter bytesNeeded
vendor_redhat·2020-04-13·CVSS 5.5
CVE-2020-12135 [MEDIUM] CWE-190 bson: integer overflow in bson_ensure_space() parameter bytesNeeded
bson: integer overflow in bson_ensure_space() parameter bytesNeeded
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Statement: This flaw does not affect versions of bson that are shipped with Red Hat Software Collections packages. The vulnerable code is present in an older version of bson.
Package: bson (Red Hat Fuse 7) - Not affected
Package: bson (Red Hat OpenShift Application Runtimes) - Not affected
Package: rh-mongodb34-libbson (Red Hat Software Collections) - Not affected
Package: rh-mongodb34-mongo-c-driver (Red Hat Software Collections) - Not affected
Package: rh-mongodb36-libbson (Red Hat
Debian
CVE-2020-12135: duo-unix - bson before 0.8 incorrectly uses int rather than size_t for many variables, para...
vendor_debian·2020·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135: duo-unix - bson before 0.8 incorrectly uses int rather than size_t for many variables, para...
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
Scope: local
bookworm: open
bullseye: open
sid: open
trixie: open
GHSA
GHSA-f54q-h8mw-5h8w: bson before 0
ghsa_unreviewed·2022-05-24
CVE-2020-12135 [MEDIUM] GHSA-f54q-h8mw-5h8w: bson before 0
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
OSV
whoopsie vulnerabilities
osv·2020-08-04·CVSS 5.5
CVE-2020-11937 [MEDIUM] whoopsie vulnerabilities
whoopsie vulnerabilities
Seong-Joong Kim discovered that Whoopsie incorrectly handled memory. A
local attacker could use this issue to cause Whoopsie to consume memory,
resulting in a denial of service. (CVE-2020-11937)
Seong-Joong Kim discovered that Whoopsie incorrectly handled parsing files.
A local attacker could use this issue to cause Whoopsie to crash, resulting
in a denial of service, or possibly execute arbitrary code.
(CVE-2020-12135)
Seong-Joong Kim discovered that Whoopsie incorrectly handled memory. A
local attacker could use this issue to cause Whoopsie to consume memory,
resulting in a denial of service. (CVE-2020-15570)
OSV
CVE-2020-12135: bson before 0
osv·2020-04-24·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135: bson before 0
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-12135 bson: integer overflow in bson_ensure_space() parameter bytesNeeded
bugzilla·2020-05-12·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135 bson: integer overflow in bson_ensure_space() parameter bytesNeeded
CVE-2020-12135 bson: integer overflow in bson_ensure_space() parameter bytesNeeded
bson before 0.8 incorrectly uses int rather than size_t for many variables, parameters, and return values. In particular, the bson_ensure_space() parameter bytesNeeded could have an integer overflow via properly constructed bson input.
References:
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560
https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577
Patch:
https://launchpadlibrarian.net/474887364/bson-fix-overflow.patch
Discussion:
Created libbson tracking bugs for this issue:
Affects: epel-all [bug 1834705]
Affects: fedora-all [bug 1834706]
Created mongo-c-driver tracking bugs for this issue:
Affec
Bugzilla
CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
bugzilla·2020-05-12·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects
Bugzilla
CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
bugzilla·2020-05-12·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue a
Bugzilla
CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
bugzilla·2020-05-12·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
CVE-2020-12135 libbson: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects mult
Bugzilla
CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
bugzilla·2020-05-12·CVSS 5.5
CVE-2020-12135 [MEDIUM] CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
CVE-2020-12135 mongo-c-driver: bson: integer overflow in bson_ensure_space() parameter bytesNeeded [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affec
Bugzilla
CVE-2020-11742 xen: bad continuation handling in GNTTABOP_copy (XSA-318)
bugzilla·2020-04-14·CVSS 8.8
CVE-2020-11742 [HIGH] CVE-2020-11742 xen: bad continuation handling in GNTTABOP_copy (XSA-318)
CVE-2020-11742 xen: bad continuation handling in GNTTABOP_copy (XSA-318)
An issue was discovered in Xen through 4.13.x, allowing guest OS users to cause a denial of service because of bad continuation handling in GNTTABOP_copy. Grant table operations are expected to return 0 for success, and a negative number for errors. The fix for CVE-2017-12135 introduced a path through grant copy handling where success may be returned to the caller without any action taken. In particular, the status fields of individual operations are left uninitialised, and may result in errant behaviour in the caller of GNTTABOP_copy. A buggy or malicious guest can construct its grant table in such a way that, when a backend domain tries to copy a grant, it hits the incorrect exit path. This returns success to the c
https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577https://launchpadlibrarian.net/474887364/bson-fix-overflow.patchhttps://usn.ubuntu.com/4450-1/https://bugs.launchpad.net/ubuntu/+source/whoopsie/+bug/1872560https://github.com/10gen-archive/mongo-c-driver-legacy/commit/1a1f5e26a4309480d88598913f9eebf9e9cba8ca#diff-f7d29a680148f52d6601f59ed787f577https://launchpadlibrarian.net/474887364/bson-fix-overflow.patchhttps://usn.ubuntu.com/4450-1/
2020-04-24
Published