Skip to content

Instantly share code, notes, and snippets.

@LLM4IG
Created April 8, 2024 15:52
Show Gist options
  • Save LLM4IG/115de1f7c3051403f0301cee0d293518 to your computer and use it in GitHub Desktop.
Save LLM4IG/115de1f7c3051403f0301cee0d293518 to your computer and use it in GitHub Desktop.
[CVE-2024-23076]
[CVE ID]
CVE-2024-23076
[PRODUCT]
JFreeChart
[VERSION]
v1.5.4
[PROBLEM TYPE]
Buffer Overflow - NullPointerException
[DESCRIPTION]
In method generateLabelString(XYDataset dataset, int series, int item) in file org/jfree/chart/labels/BubbleXYItemLabelGenerator.java, lines 171 and 174, call the createItemArray method and pass in the parameter dataset, if the dataset parameter is null, it will cause line 194 of the createItemArray(XYZDataset dataset, int series, int item) method to produce a NullPointerException.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment