UBUNTU-CVE-2024-39684

Source
https://ubuntu.com/security/CVE-2024-39684
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-39684
Upstream
Published
2024-07-09T19:15:00Z
Modified
2025-07-14T06:35:56.477531Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@0.12~git20141031-3ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12~git20141031-3
0.12~git20141031-3ubuntu0.1~esm1

Ubuntu:Pro:18.04:LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@1.1.0+dfsg2-3ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.12~git20141031+dfsg-1

1.*

1.1.0+dfsg2-3
1.1.0+dfsg2-3ubuntu0.1~esm1

Ubuntu:Pro:20.04:LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@1.1.0+dfsg2-5ubuntu1+esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.0+dfsg2-5
1.1.0+dfsg2-5ubuntu1
1.1.0+dfsg2-5ubuntu1+esm1

Ubuntu:22.04:LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@1.1.0+dfsg2-7?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.0+dfsg2-7

Ubuntu:24.04:LTS / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@1.1.0+dfsg2-7.2?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.0+dfsg2-7.1
1.1.0+dfsg2-7.2

Ubuntu:25.04 / rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson@1.1.0+dfsg2-7.3ubuntu1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.0+dfsg2-7.3
1.1.0+dfsg2-7.3ubuntu1