Bug 66151 - Fix For CVE-2022-26336
Summary: Fix For CVE-2022-26336
Status: RESOLVED INVALID
Alias: None
Product: POI
Classification: Unclassified
Component: HMEF (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 13:08 UTC by Raghul
Modified: 2022-06-30 06:35 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raghul 2022-06-29 13:08:46 UTC
In Poi-ooxml-schemas 4.1.2 jar a CVE is identified by the CVE Tracker tool https://owasp.org/www-project-dependency-check/

The CVE description is as below

CVE-2022-26336  suppress

A shortcoming in the HMEF package of poi-scratchpad (Apache POI) allows an attacker to cause an Out of Memory exception. This package is used to read TNEF files (Microsoft Outlook and Microsoft Exchange Server). If an application uses poi-scratchpad to parse TNEF files and the application allows untrusted users to supply them, then a carefully crafted file can cause an Out of Memory exception. This issue affects poi-scratchpad version 5.2.0 and prior versions. Users are recommended to upgrade to poi-scratchpad 5.2.1.
CWE-770 Allocation of Resources Without Limits or Throttling

CVSSv2:
Base Score: MEDIUM (4.3)
Vector: /AV:N/AC:M/Au:N/C:N/I:N/A:P
CVSSv3:
Base Score: MEDIUM (5.5)
Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References:
CONFIRM - N/A
Comment 1 Nick Burch 2022-06-29 13:10:51 UTC
You need to upgrade to Apache POI 5.2.1 or newer
Comment 2 Raghul 2022-06-29 13:12:01 UTC
The latest version of Poi-ooxml-schemas is 4.1.2
Comment 3 PJ Fanning 2022-06-29 13:21:25 UTC
poi-ooxml-schemas is renamed by poi-ooxml-lite in POI 5

Also, OWASP have a bug in their tool - the issue only affects poi-snapshot jar not all poi jars.
Comment 4 PJ Fanning 2022-06-29 13:22:36 UTC
Apologies, I meant poi-scratchpad jar is the one with the issue (I said poi-snapshot by accident in previous comment).
Comment 5 Raghul 2022-06-30 06:35:10 UTC
Thanks for the prompt response.Helps a lot