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

Published Jul 9, 2024
·
Updated

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

Other sources

Tencent RapidJSON is vulnerable to privilege escalation due to an integer overflow 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 overflow vulnerability (when the file is parsed), leading to elevation of privilege.

— MITRE

Affected Software

53 affected componentsFixes available
Microsoft Windows Server 2016
Microsoft Windows Server 2016
Microsoft Windows 10=1809
Microsoft Windows 10=1809
Microsoft Windows 10=1607
Microsoft Windows 10=1607
Microsoft Windows 10
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.6054
10.0.17763.6054
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 Server 2016<10.0.14393.7159
10.0.14393.7159
Microsoft Windows Server 2022, 23H2 Edition<10.0.25398.1009
10.0.25398.1009
Microsoft Windows Server 2016<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<10.0.10240.20710
10.0.10240.20710
Microsoft Windows 10<10.0.10240.20710
10.0.10240.20710
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 10=22H2, >=10.0.19045<10.0.19045.4651
10.0.19045.4651
Microsoft Windows 10=22H2, >=10.0.19045<10.0.19045.4651
10.0.19045.4651
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=21H2, >=10.0.19044<10.0.19044.4651
10.0.19044.4651
Microsoft Windows 11=21H2, >=10.0.22000<10.0.22000.3079
10.0.22000.3079
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 Server 2022<10.0.20348.2582
10.0.20348.2582
Microsoft Windows Server 2019<10.0.17763.6054
10.0.17763.6054
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 Server 2012<6.2.9200.24975
6.2.9200.24975
Microsoft Windows Server 2012 R2<6.3.9600.22074
6.3.9600.22074
Microsoft Windows Server 2012<6.2.9200.24975
6.2.9200.24975
Microsoft Windows Server 2012 R2<6.3.9600.22074
6.3.9600.22074
Microsoft Windows 10=1809, >=10.0.17763<10.0.17763.6054
10.0.17763.6054
Microsoft Windows Server 2008<6.0.6003.22769
6.0.6003.22769
Microsoft Windows Server 2008 R2<6.1.7601.27219
6.1.7601.27219
Microsoft Windows Server 2008<6.0.6003.22769
6.0.6003.22769
Microsoft Windows Server 2008<6.0.6003.22769
6.0.6003.22769
Microsoft Windows Server 2008 R2<6.1.7601.27219
6.1.7601.27219
Microsoft Windows Server 2008<6.0.6003.22769
6.0.6003.22769
debian/rapidjson*
debian/rapidjson*
debian/rapidjson*
debian/rapidjson<=1.1.0+dfsg2-7.1, <=1.1.0+dfsg2-7.4, <=1.1.0+dfsg2-7.6
ubuntu/rapidjson<0.12~git20141031-3ubuntu0.1~esm2
0.12~git20141031-3ubuntu0.1~esm2
ubuntu/rapidjson<1.1.0+dfsg2-3ubuntu0.1~esm2
1.1.0+dfsg2-3ubuntu0.1~esm2
ubuntu/rapidjson<1.1.0+dfsg2-5ubuntu1+esm2
1.1.0+dfsg2-5ubuntu1+esm2
ubuntu/rapidjson<1.1.0+dfsg2-7ubuntu0.1~esm2
1.1.0+dfsg2-7ubuntu0.1~esm2
ubuntu/rapidjson<1.1.0+dfsg2-7.2ubuntu0.1~esm2
1.1.0+dfsg2-7.2ubuntu0.1~esm2
ubuntu/rapidjson*
ubuntu/rapidjson*

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.17763.6054Patch KB5040430
  2. Upgrade

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

    Fixed in 10.0.14393.7159Patch KB5040434
  3. Upgrade

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

    Fixed in 10.0.22631.3880Patch KB5040442
  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.10240.20710Patch KB5040448
  6. Upgrade

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

    Fixed in 10.0.22000.3079Patch KB5040431
  7. Upgrade

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

    Fixed in 10.0.19044.4651Patch KB5040427
  8. Upgrade

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

    Fixed in 10.0.19045.4651Patch KB5040427
  9. Upgrade

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

    Fixed in 10.0.22621.3880Patch KB5040442
  10. Upgrade

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

    Fixed in 10.0.20348.2582Patch KB5040437
  11. Upgrade

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

    Fixed in 6.2.9200.24975Patch KB5040485
  12. Upgrade

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

    Fixed in 6.3.9600.22074Patch KB5040456
  13. Upgrade

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

    Fixed in 6.0.6003.22769Patch KB5040490
  14. Upgrade

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

    Fixed in 6.1.7601.27219Patch KB5040498
  15. Upgrade

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

    Fixed in 0.12~git20141031-3ubuntu0.1~esm2
  16. Upgrade

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

    Fixed in 1.1.0+dfsg2-3ubuntu0.1~esm2
  17. Upgrade

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

    Fixed in 1.1.0+dfsg2-5ubuntu1+esm2
  18. Upgrade

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

    Fixed in 1.1.0+dfsg2-7ubuntu0.1~esm2
  19. Upgrade

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

    Fixed in 1.1.0+dfsg2-7.2ubuntu0.1~esm2

Event History

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

Frequently Asked Questions

1

What is the severity of CVE-2024-39684?

CVE-2024-39684 has been classified as a privilege escalation vulnerability due to an integer overflow.

2

How do I fix CVE-2024-39684?

To fix CVE-2024-39684, apply the available patches from Microsoft for affected software versions.

3

Which software is affected by CVE-2024-39684?

CVE-2024-39684 affects various versions of Microsoft Windows including Windows Server 2016, Windows 10, and Windows 11.

4

What types of attacks can CVE-2024-39684 facilitate?

CVE-2024-39684 can facilitate privilege escalation attacks, allowing attackers to gain elevated permissions.

5

When was CVE-2024-39684 reported?

CVE-2024-39684 was reported recently, highlighting a vulnerability in the Tencent RapidJSON library.

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