ADVISORIES

Go Vulnerability Database

GO-2021-0076

Out-of-bounds write in github.com/evanphx/json-patch

Details

A malicious JSON patch can cause a panic due to an out-of-bounds write attempt. This can be used as a denial of service vector if exposed to arbitrary user input.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/evanphx/json-patch
All versions before 0.5.2 (fixed in 0.5.2)
From 3.0.0+incompatible before 3.0.1-0.20180525145409-4c9aadca8f89+incompatible (fixed in 3.0.1-0.20180525145409-4c9aadca8f89+incompatible)

References