Advisory

GO-2023-1269

Also known as: CVE-2023-22460, GHSA-c653-6hhg-9x92

Summary

Panic in encoding in github.com/ipld/go-ipld-prime

Details

Encoding data using the 'json' codec which contains a 'Bytes' type Node will cause the encoder to panic. The decoder is not impacted. If the codec is used to encode user supplied data, this may be used as a vector for a denial of service attack.

Severity

Not rated by the source.

Dates

Published
2023-01-18 18:07 UTC
Modified
2024-05-20 16:03 UTC

Affected packages and fixes

github.com/ipld/go-ipld-prime

Go · All systems

Affected

  • introduced 0, fixed 0.19.0 (semver)

Fixed versions

0.19.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences