{"{\"summary\":\"Cache Confusion Attack Vector\"}","{\"summary\":\"Patched in version 0.30.0\"}","{\"summary\":\"Workarounds exist\"}"}
CVE-2024-53848
Summary
The vulnerability in check-jsonschema arises from its default caching mechanism, where the basename of a remote schema is used as the cache filename. This design flaw allows an attacker to manipulate the caching process by tricking a user into running check-jsonschema against a malicious schema URL. Consequently, this can lead to a scenario where the attacker’s schema is executed in place of the intended schema, potentially allowing invalid data to pass through validation checks that should have been enforced. Users are urged to upgrade to version 0.30.0 or later to mitigate this issue. Temporary workarounds include disabling caching with the '--no-cache' option or specifying a unique cache filename using the '--cache-filename' parameter. Additionally, users can download schemas locally before validation to maintain control over the input.
Affected Version(s)
check-jsonschema < 0.30.0
References
CVSS V3.1
Timeline
Vulnerability published
Vulnerability Reserved