Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/dvsekhvalnov/jose2go
  4. ›
  5. GHSA-mhpq-9638-x6pw

GHSA-mhpq-9638-x6pw: Denial of service when decrypting attack controlled input in github.com/dvsekhvalnov/jose2go

December 20, 2023 (updated July 5, 2024)

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.

References

  • github.com/advisories/GHSA-mhpq-9638-x6pw
  • github.com/dvsekhvalnov/jose2go
  • github.com/dvsekhvalnov/jose2go/commit/a4584e9dd7128608fedbc67892eba9697f0d5317
  • github.com/dvsekhvalnov/jose2go/issues/31
  • www.blackhat.com/us-23/briefings/schedule/

Code Behaviors & Features

Detect and mitigate GHSA-mhpq-9638-x6pw with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.1-0.20231206184617-48ba0b76bc88

Fixed versions

  • 1.5.1-0.20231206184617-48ba0b76bc88

Solution

Upgrade to version 1.5.1-0.20231206184617-48ba0b76bc88 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

go/github.com/dvsekhvalnov/jose2go/GHSA-mhpq-9638-x6pw.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:37 +0000.