OESA-2024-1857

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2024-1857
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2024-1857.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2024-1857
Upstream
Published
2024-07-19T11:08:32Z
Modified
2025-08-12T05:44:41.324657Z
Summary
rapidjson security update
Details

RapidJSON as a fast JSON parser which generator for c++. Its inspired by RapidXML. Its supports both SAX & DOM style API. Its small but complete. Its fast, Its preformance can be comparabel to strlen(). Its self-contained. It doesnt depend on external libraries such as BOOST. Its Unicode and memory friendly, each JSON valude occupies exactly 16/20 bytes for most 32/64-bit machines. It`s suport UTF-8 UTF-16 UTF-32 (LE & BE).

Security Fix(es):

Tencent RapidJSON is vulnerable to privilege escalation due to an integer underflow in the GenericReader::ParseNumber() function of include/rapidjson/reader.h when parsing JSON text from a stream. An attacker needs to send the victim a crafted file which needs to be opened; this triggers the integer underflow vulnerability (when the file is parsed), leading to elevation of privilege.(CVE-2024-38517)

Database specific
{
    "severity": "High"
}
References

Affected packages

openEuler:24.03-LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:rpm/openEuler/rapidjson&distro=openEuler-24.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-13.oe2403

Ecosystem specific

{
    "src": [
        "rapidjson-1.1.0-13.oe2403.src.rpm"
    ],
    "noarch": [
        "rapidjson-devel-1.1.0-13.oe2403.noarch.rpm",
        "rapidjson-help-1.1.0-13.oe2403.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP4 / rapidjson

Package

Name
rapidjson
Purl
pkg:rpm/openEuler/rapidjson&distro=openEuler-22.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-12.oe2203sp4

Ecosystem specific

{
    "src": [
        "rapidjson-1.1.0-12.oe2203sp4.src.rpm"
    ],
    "noarch": [
        "rapidjson-devel-1.1.0-12.oe2203sp4.noarch.rpm",
        "rapidjson-help-1.1.0-12.oe2203sp4.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP1 / rapidjson

Package

Name
rapidjson
Purl
pkg:rpm/openEuler/rapidjson&distro=openEuler-22.03-LTS-SP1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-11.oe2203sp1

Ecosystem specific

{
    "src": [
        "rapidjson-1.1.0-11.oe2203sp1.src.rpm"
    ],
    "noarch": [
        "rapidjson-devel-1.1.0-11.oe2203sp1.noarch.rpm",
        "rapidjson-help-1.1.0-11.oe2203sp1.noarch.rpm"
    ]
}

openEuler:22.03-LTS-SP3 / rapidjson

Package

Name
rapidjson
Purl
pkg:rpm/openEuler/rapidjson&distro=openEuler-22.03-LTS-SP3

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-12.oe2203sp3

Ecosystem specific

{
    "src": [
        "rapidjson-1.1.0-12.oe2203sp3.src.rpm"
    ],
    "noarch": [
        "rapidjson-devel-1.1.0-12.oe2203sp3.noarch.rpm",
        "rapidjson-help-1.1.0-12.oe2203sp3.noarch.rpm"
    ]
}

openEuler:20.03-LTS-SP4 / rapidjson

Package

Name
rapidjson
Purl
pkg:rpm/openEuler/rapidjson&distro=openEuler-20.03-LTS-SP4

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.0-12.oe2003sp4

Ecosystem specific

{
    "src": [
        "rapidjson-1.1.0-12.oe2003sp4.src.rpm"
    ],
    "noarch": [
        "rapidjson-devel-1.1.0-12.oe2003sp4.noarch.rpm",
        "rapidjson-help-1.1.0-12.oe2003sp4.noarch.rpm"
    ]
}