CVE-2021-33797

Source
https://cve.org/CVERecord?id=CVE-2021-33797
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33797.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-33797
Downstream
Published
2023-04-17T22:15:07.677Z
Modified
2025-11-14T11:58:14.815253Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which leads to a buffer overflow in the pointer *d.

References

Affected packages

Git / github.com/ccxvii/mujs

Affected ranges

Type
GIT
Repo
https://github.com/ccxvii/mujs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-33797.json"

vanir_signatures

[
    {
        "digest": {
            "line_hashes": [
                "288979091544294782111518819104233456394",
                "61581765318884466210923875556097423407",
                "33659201827772043129384467252092958873",
                "10652266890852190394524829872989947004",
                "67837103942097848649576271900656043397",
                "294322422671747322356550470135510402828",
                "103767349172362287088416722015036295073"
            ],
            "threshold": 0.9
        },
        "target": {
            "file": "jsdtoa.c"
        },
        "id": "CVE-2021-33797-6cc29e16",
        "source": "https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550",
        "signature_type": "Line",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "digest": {
            "length": 2020.0,
            "function_hash": "124021268302342966659032939690289369075"
        },
        "target": {
            "function": "js_strtod",
            "file": "jsdtoa.c"
        },
        "id": "CVE-2021-33797-be8d4644",
        "source": "https://github.com/ccxvii/mujs/commit/833b6f1672b4f2991a63c4d05318f0b84ef4d550",
        "signature_type": "Function",
        "deprecated": false,
        "signature_version": "v1"
    }
]