Bug 1219219 (CVE-2023-52355) - VUL-0: CVE-2023-52355: tiff: libtiff: TIFFRasterScanlineSize64 produce too-big size and could cause OOM
Summary: VUL-0: CVE-2023-52355: tiff: libtiff: TIFFRasterScanlineSize64 produce too-bi...
Status: RESOLVED WONTFIX
Alias: CVE-2023-52355
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Michael Vetter
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/392198/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-52355:5.0:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-26 10:32 UTC by SMASH SMASH
Modified: 2024-02-27 08:59 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-01-26 10:32:30 UTC
An out-of-memory flaw was found in libtiff that could be triggered by passing a crafted tiff file to the TIFFRasterScanlineSize64() API. This flaw allows a remote attacker to cause a denial of service via a crafted input with a size smaller than 379 KB.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-52355
https://access.redhat.com/security/cve/CVE-2023-52355
https://bugzilla.redhat.com/show_bug.cgi?id=2251326
https://gitlab.com/libtiff/libtiff/-/issues/621
https://www.cve.org/CVERecord?id=CVE-2023-52355
Comment 5 Marcus Meissner 2024-02-23 16:36:58 UTC
I would not go and backport this memory management framework currently.

We could:

- ignore the problem and ask people to fix it with ulimits
- hardcode limits in the code, like 64k pixels width maximum or so.
Comment 6 Michael Vetter 2024-02-26 11:49:28 UTC
(In reply to Marcus Meissner from comment #5)
> I would not go and backport this memory management framework currently.
> 
> We could:
> 
> - ignore the problem and ask people to fix it with ulimits

I would tend to this option since the problem is only for developers who use the library, and we don't know what size of tiff files our customers might want to work with (if anybody even writes their own applications using tiff) or how much memory they have available.

@Stoyan what would be the next steps in this case?
Comment 7 Andrea Mattiazzo 2024-02-27 08:59:01 UTC
I am closing it as won't fix. In case of questions we could provide the mitigation to use ulimits.