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
Downstream
Related
Published
2024-07-09T19:15:00Z
Modified
2026-05-20T16:17:49Z
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
  • Ubuntu - 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:25.10
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=questing

Affected ranges

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

Affected versions

1.*
1.1.0+dfsg2-7.3ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-7.3ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:26.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=resolute

Affected ranges

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

Affected versions

1.*
1.1.0+dfsg2-7.3ubuntu1
1.1.0+dfsg2-7.6ubuntu1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-7.6ubuntu1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:Pro:16.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.12~git20141031-3ubuntu0.1~esm2

Affected versions

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

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "0.12~git20141031-3ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:Pro:18.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.0+dfsg2-3ubuntu0.1~esm2

Affected versions

0.*
0.12~git20141031+dfsg-1
1.*
1.1.0+dfsg2-3
1.1.0+dfsg2-3ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-3ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:Pro:20.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.0+dfsg2-5ubuntu1+esm2

Affected versions

1.*
1.1.0+dfsg2-5
1.1.0+dfsg2-5ubuntu1
1.1.0+dfsg2-5ubuntu1+esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-5ubuntu1+esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:Pro:22.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fjammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.0+dfsg2-7ubuntu0.1~esm2

Affected versions

1.*
1.1.0+dfsg2-7
1.1.0+dfsg2-7ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-7ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"
Ubuntu:Pro:24.04:LTS
rapidjson

Package

Name
rapidjson
Purl
pkg:deb/ubuntu/rapidjson?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.1.0+dfsg2-7.2ubuntu0.1~esm2

Affected versions

1.*
1.1.0+dfsg2-7.1
1.1.0+dfsg2-7.2
1.1.0+dfsg2-7.2ubuntu0.1~esm1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries": [
        {
            "binary_name": "rapidjson-dev",
            "binary_version": "1.1.0+dfsg2-7.2ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-39684.json"