GitHub Advisoryadvisory · Go

GHSA-qgc7-mgm3-q253 Uncontrolled Resource Consumption in golang.org/x/image

MEDIUM Published 2023-02-17 Modified 2024-05-20 Official page ↗
Aliases
CVE-2022-41727
Ecosystem
Go
Packages
golang.org/x/image
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weaknesses
CWE-400, CWE-770
Reviewed
2023-02-17

Affected packages

• Go golang.org/x/image: < 0.5.0 → fixed in 0.5.0

Description

An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. This could lead to a denial of service.

Related

Alias · CVE (1)

  • CVE-2022-41727 An attacker can craft a malformed TIFF image which will consume a significant amount of memory when passed to DecodeConfig. vulnerability

Weakness · CWE (2)

  • CWE-400 Uncontrolled Resource Consumption weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling weakness

References