-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libpng: Multiple vulnerabilities #68
Comments
Now that's probably the most important of your reports. Would you have an assessment of how these vulnerabilities can be exploited with LMS? I guess this is for |
Media::Scan, yes, and Image::Scale use PNG. The two most severe exploits would allow attackers to execute arbitrary code through crafted PNGs (either standalone or embedded in audio files) during library scanning. |
We already did update that module for select platforms. But that probably didn't include all the security fixes you mention. If you could provide a fix for this, that might be a good starting point. |
Ugh... I tried to update |
The perl module is only as (in)secure as the underlying libraries.
Will do. I'll also update giflib and libjpeg, to cover those bases.
Have you been able to replicate the issue with Image::Scale 0.14? |
Argh. I just remembered that libmediascan also depends on giflib. And since giflib has an API-breaking change between the 4.x.x and 5.x.x series (the library was made completely re-entrant and thread-safe, as well as fixing LOTS of bugs). Image::Scale is flexible enough to use both old and new API, but libmediascan is not. I will leave giflib as is, and update it if/when libmediascan gets updated. |
The bundled version of libpng has 17 known vulnerabilities, according to the NIST National Vulnerability Database, including one with severity 10.0 (out of 10).
There are three options:
I recommend option 2, which has only two vulnerabilities listed. However, I could be swayed to hold fast until option 3, because one of the vulnerabilities is a severity 8.6 memory leak.
What is the selected option that I should prepare a PR for?
The text was updated successfully, but these errors were encountered: