Advisory

GO-2023-2409

Also known as: CVE-2023-50658, GHSA-6294-6rgp-fr7r, GHSA-mhpq-9638-x6pw

Summary

Denial of service when decrypting attacker controlled input in github.com/dvsekhvalnov/jose2go

Details

An attacker controlled input of a PBES2 encrypted JWE blob can have a very large p2c value that, when decrypted, produces a denial-of-service.

Severity

Not rated by the source.

Dates

Published
2023-12-20 17:35 UTC
Modified
2026-02-04 03:28 UTC

Affected packages and fixes

github.com/dvsekhvalnov/jose2go

Go · All systems

Affected

  • introduced 0, fixed 1.5.1-0.20231206184617-48ba0b76bc88 (semver)

Fixed versions

1.5.1-0.20231206184617-48ba0b76bc88

Fix

  • Fixed version 1.5.1-0.20231206184617-48ba0b76bc88
    go get github.com/dvsekhvalnov/[email protected]

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