cve.bz

CVE-2020-12135 Year 2038 problem, Y2K38, Y2038, Epochalypse

5.5 mediumExploit referenceEPSS 1.2%Fix available

Medium (5.5). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12135 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12135?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12135?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12135 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
whoopsie_project:whoopsiethrough 0.2.69
mongodb:c_driverbefore 0.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13duo-unixno fix listedDEBIAN-CVE-2020-12135
Ubuntu16.04:LTSwhoopsie0.2.52.5ubuntu0.5UBUNTU-CVE-2020-12135 USN-4450-1
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 moreduo-unixno fix listedUBUNTU-CVE-2020-12135
Ubuntu18.04:LTSwhoopsie0.2.62ubuntu0.5UBUNTU-CVE-2020-12135 USN-4450-1
Ubuntu20.04:LTSwhoopsie0.2.69ubuntu0.1UBUNTU-CVE-2020-12135 USN-4450-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Fuse 7bsonNot affected
Red Hat OpenShift Application RuntimesbsonNot affected
Red Hat Software Collectionsrh-mongodb34-libbsonNot affected
Red Hat Software Collectionsrh-mongodb34-mongo-c-driverNot affected
Red Hat Software Collectionsrh-mongodb36-libbsonNot affected
Red Hat Software Collectionsrh-mongodb36-mongo-c-driverNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12135.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON