CVE-2024-38517: Tencent RapidJSON include/rapidjson/reader.h GenericReader::ParseNumber() Function Template Exponent Parsing Integer Underflow

Published Jul 9, 2024
·
Updated

Github: CVE-2024-38517 TenCent RapidJSON Elevation of Privilege Vulnerability

Other sources

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.

— NVD

Affected Software

33 affected componentsFixes available
Microsoft Windows 10=1809
Microsoft Windows Server 2016<10.0.14393.7159
10.0.14393.7159
Microsoft Windows Server 2016<10.0.14393.7159
10.0.14393.7159
Microsoft Windows 10=1607, >=10.0.14393<10.0.14393.7159
10.0.14393.7159
Microsoft Windows 11=23H2, >=10.0.22631<10.0.22631.3880
10.0.22631.3880
Microsoft Windows 10=1607, >=10.0.14393<10.0.14393.7159
10.0.14393.7159
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.4651
10.0.19045.4651
Microsoft Windows Server 2022, 23H2 Edition<10.0.25398.1009
10.0.25398.1009
Microsoft Windows 11=22H2, >=10.0.22621<10.0.22621.3880
10.0.22621.3880
Microsoft Windows 11=22H2, >=10.0.22621<10.0.22621.3880
10.0.22621.3880
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.4651
10.0.19045.4651
Microsoft Windows 11=23H2, >=10.0.22631<10.0.22631.3880
10.0.22631.3880
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.4651
10.0.19045.4651
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.4651
10.0.19044.4651
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.4651
10.0.19044.4651
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.6054
10.0.17763.6054
Microsoft Windows Server 2022<10.0.20348.2582
10.0.20348.2582
Microsoft Windows 11=21H2, >=10.0.22000<10.0.22000.3079
10.0.22000.3079
Microsoft Windows Server 2022<10.0.20348.2582
10.0.20348.2582
Microsoft Windows Server 2019<10.0.17763.6054
10.0.17763.6054
Microsoft Windows 11=21H2, >=10.0.22000<10.0.22000.3079
10.0.22000.3079
Microsoft Windows 10=21H2, >=10.0.19044<10.0.19044.4651
10.0.19044.4651
Microsoft Windows Server 2019<10.0.17763.6054
10.0.17763.6054
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.6054
10.0.17763.6054
debian/rapidjson*
debian/rapidjson<1.1.0+dfsg2-7.4
1.1.0+dfsg2-7.4
debian/rapidjson<1.1.0+dfsg2-7.4
1.1.0+dfsg2-7.4
debian/rapidjson<=1.1.0+dfsg2-7.1
1.1.0+dfsg2-7.41.1.0+dfsg2-7.6
alpine/rapidjson<1.1.0-r6
1.1.0-r6
alpine/rapidjson<1.1.0-r7
1.1.0-r7
alpine/rapidjson<1.1.0-r7
1.1.0-r7
alpine/rapidjson<1.1.0-r7
1.1.0-r7
alpine/rapidjson<1.1.0-r7
1.1.0-r7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.14393.7159Patch KB5040434
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.22631.3880Patch KB5040442
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19045.4651Patch KB5040427
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.25398.1009Patch KB5040438
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.22621.3880Patch KB5040442
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.19044.4651Patch KB5040427
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.17763.6054Patch KB5040430
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.20348.2582Patch KB5040437
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 10.0.22000.3079Patch KB5040431
  10. Upgrade

    Upgrade debian/rapidjson to a version that resolves this vulnerability.

    Fixed in 1.1.0+dfsg2-7.4
  11. Upgrade

    Upgrade debian/rapidjson to a version that resolves this vulnerability.

    Fixed in 1.1.0+dfsg2-7.4Fixed in 1.1.0+dfsg2-7.6
  12. Upgrade

    Upgrade alpine/rapidjson to a version that resolves this vulnerability.

    Fixed in 1.1.0-r6
  13. Upgrade

    Upgrade alpine/rapidjson to a version that resolves this vulnerability.

    Fixed in 1.1.0-r7

Event History

Jul 9, 2024
CVE Published
via Microsoft·07:00 AM
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·06:51 PM
Data Sourced
via MITRE·06:51 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness
Data Sourced
via OSV·07:15 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-38517?

CVE-2024-38517 is classified as an elevation of privilege vulnerability.

2

How do I fix CVE-2024-38517?

To fix CVE-2024-38517, apply the appropriate security patches provided by Microsoft for your affected product.

3

Which software is affected by CVE-2024-38517?

CVE-2024-38517 affects various versions of Microsoft Windows, including Windows Server and Windows 10.

4

Can CVE-2024-38517 lead to unauthorized access?

Yes, CVE-2024-38517 can potentially allow an attacker to gain unauthorized access to system privileges.

5

What is the cause of CVE-2024-38517?

CVE-2024-38517 is caused by an integer underflow in the GenericReader::ParseNumber() function of Tencent RapidJSON.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203