LowGO-2023-2409CVE-2023-50658GHSA-6294-6rgp-fr7rGHSA-mhpq-9638-x6pw

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

Published 20 Dec 2023 · Updated 4 Feb 2026

Is your project on an affected github.com/dvsekhvalnov/jose2go?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<1.5.1-0.20231206184617-48ba0b76bc88
Fixed in
1.5.1-0.20231206184617-48ba0b76bc88
Update to the fixed version for your release line, for example:go get github.com/dvsekhvalnov/jose2go@v1.5.1-0.20231206184617-48ba0b76bc88

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.

Is GO-2023-2409 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/dvsekhvalnov/jose2go, and gives you the command that fixes it.

More advisories for github.com/dvsekhvalnov/jose2go

  • LowCVE-2025-63811Denial-of-Service (DoS) via crafted JSON Web Encryption (JWE) token high compression ratio in github.com/dvsekhvalnov/jose2go · 18 Nov 2025
  • HighCVE-2025-63811jose2go is vulnerable to a JWT bomb attack through its decode function · 12 Nov 2025
github.com/dvsekhvalnov/jose2go security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.