CVE-2024-4420

Source
https://cve.org/CVERecord?id=CVE-2024-4420
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4420.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-4420
Published
2024-05-21T11:52:28.398Z
Modified
2026-07-15T01:49:11.205037125Z
Severity
  • 6.8 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H/S:N/AU:Y/V:D/RE:L/U:Green CVSS Calculator
Summary
Denial of Service in Tink-cc
Details

There exists a Denial of service vulnerability in Tink-cc in versions prior to 2.1.3.  * An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input that is not an encoded JSON object, but still a valid encoded JSON element, for example a number or an array. This will crash as Tink just assumes any valid JSON input will contain an object.

  • An adversary can crash binaries using the crypto::tink::JsonKeysetReader in tink-cc by providing an input containing many nested JSON objects. This may result in a stack overflow.

We recommend upgrading to version 2.1.3 or above

Database specific
{
    "cwe_ids": [
        "CWE-116"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/4xxx/CVE-2024-4420.json",
    "cna_assigner": "Google"
}
References

Affected packages

Git / github.com/tink-crypto/tink

Affected ranges

Type
GIT
Repo
https://github.com/tink-crypto/tink
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.7.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}
Type
GIT
Repo
https://github.com/tink-crypto/tink-cc
Events
Database specific
{
    "cpe": "cpe:2.3:a:google:tink_c\\+\\+:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.0.0"
        },
        {
            "fixed": "2.1.3"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

go/integration/hcvault/v1.*
go/integration/hcvault/v1.4.0-rc1
go/integration/hcvault/v1.4.0-rc2
go/v1.*
go/v1.4.0-rc1
go/v1.4.0-rc2
go/v1.5.0
go/v1.6.0
go/v1.7.0
v1.*
v1.0.0
v1.1.0
v1.1.1
v1.2.0
v1.2.0-rc2
v1.2.0-rc3
v1.2.0-rc4
v1.3.0-rc1
v1.3.0-rc2
v1.4.0-rc1
v1.4.0-rc2
v1.5.0
v1.6.0
v1.7.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-4420.json"