cimg: CVE-2022-1325 - memory exhaustion from a malicious pandore or bmp file

Related Vulnerabilities: CVE-2022-1325  

Debian Bug report logs - #1018941
cimg: CVE-2022-1325 - memory exhaustion from a malicious pandore or bmp file

version graph

Reported by: Neil Williams <codehelp@debian.org>

Date: Fri, 2 Sep 2022 08:45:02 UTC

Severity: important

Tags: security, upstream

Found in version cimg/3.0.2+dfsg-1

Forwarded to https://github.com/dtschump/CImg/issues/343

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, codehelp@debian.org, team@security.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>:
Bug#1018941; Package src:cimg. (Fri, 02 Sep 2022 08:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Neil Williams <codehelp@debian.org>:
New Bug report received and forwarded. Copy sent to codehelp@debian.org, team@security.debian.org, Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>. (Fri, 02 Sep 2022 08:45:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Neil Williams <codehelp@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: cimg: CVE-2022-1325 - memory exhaustion from a malicious pandore or bmp file
Date: Fri, 02 Sep 2022 09:40:09 +0100
Source: cimg
Version: 3.0.2+dfsg-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: codehelp@debian.org, Debian Security Team <team@security.debian.org>

Hi,

The following vulnerability was published for cimg.

CVE-2022-1325[0]:
| A flaw was found in Clmg, where with the help of a maliciously crafted
| pandore or bmp file with modified dx and dy header field values it is
| possible to trick the application into allocating huge buffer sizes
| like 64 Gigabyte upon reading the file from disk or from a virtual
| buffer.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2022-1325
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1325

Please adjust the affected versions in the BTS as needed.


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.18.0-4-amd64 (SMP w/6 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



Set Bug forwarded-to-address to 'https://github.com/dtschump/CImg/issues/343'. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Fri, 02 Sep 2022 11:45:05 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Sep 2 13:19:33 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.