Bug 2274494 (CVE-2024-23076) - CVE-2024-23076 jfreechart: Null pointer exception
Summary: CVE-2024-23076 jfreechart: Null pointer exception
Keywords:
Status: NEW
Alias: CVE-2024-23076
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2274496 2274498 2274497
Blocks: 2274511
TreeView+ depends on / blocked
 
Reported: 2024-04-11 11:45 UTC by ybuenos
Modified: 2024-04-22 08:55 UTC (History)
65 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A NULL pointer exception vulnerability was found in Freechart. In the method generateLabelString, if the dataset parameter is NULL, a NULL pointer exception is thrown.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description ybuenos 2024-04-11 11:45:55 UTC
FreeChart v1.5.4 was discovered to contain a NullPointerException via the component /labels/BubbleXYItemLabelGenerator.java.

http://jfreechart.com
https://gist.github.com/LLM4IG/115de1f7c3051403f0301cee0d293518
https://github.com/jfree/jfreechart

Comment 1 ybuenos 2024-04-11 11:48:03 UTC
Created bionetgen tracking bugs for this issue:

Affects: epel-all [bug 2274496]
Affects: fedora-all [bug 2274497]


Created jfreechart tracking bugs for this issue:

Affects: fedora-all [bug 2274498]

Comment 4 Guillaume Smet 2024-04-17 12:47:00 UTC
Hi,

I think we need to be careful about all these NPE security issues opened in random Java Open Source projects lately.

They are most probably generated by an AI and invalid: passing null as a parameter and getting a NPE is not surprising at all and most of the time won't lead to any security issue.

For instance, see Joda Time's response for a similar "CVE" open recently: https://www.joda.org/joda-time/security.html

** DISPUTED ** Joda Time v2.12.5 was discovered to contain a NullPointerException via the component org.joda.time.format.PeriodFormat::wordBased(Locale). NOTE: this is disputed by multiple third parties who believe there was not reasonable evidence to determine the existence of a vulnerability. The submission may have been based on a tool that is not sufficiently robust for vulnerability identification.

Posting here but I saw several others coming.

Comment 5 Zbigniew Jędrzejewski-Szmek 2024-04-22 08:55:36 UTC
Yeah. A NullPointerException in Java is just an exception, and that usually means that either the calling code will catch it and possibly display an error dialogue, or not catch it and the program will terminate with a backtrace. It may be a _bug_, but it hardly seems relevant for security.


Note You need to log in before you can comment on or make changes to this bug.