| Summary: | imlib2 new security issues CVE-2016-3993, CVE-2016-3994, and CVE-2011-5326 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | Security | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | Sec team <security> |
| Severity: | normal | ||
| Priority: | Normal | CC: | sysadmin-bugs, tarazed25 |
| Version: | 5 | Keywords: | validated_update |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | has_procedure advisory MGA5-64-OK MGA5-32-OK | ||
| Source RPM: | imlib2-1.4.7-1.mga5.src.rpm | CVE: | |
| Status comment: | |||
| Attachments: | Tar file containing test files for imlib2 | ||
|
Description
David Walser
2016-04-11 16:02:25 CEST
Trying this one. The documentation site provides two test programs, one a simple image converter and the other an interactive one which could be adapted to provide a PoC. The degenerate ellipse code above could be inserted easily but the problem is the program does not compile here - a couple of missing symbols. The image converter works fine though. I may have to extract the tarball from git but I don't actually know how to handle git. Probably need an account for a start. CC:
(none) =>
tarazed25 x86_64 Mate Documentation for imlib2 at http://alien.cern.ch/cache/imlib2-1.0.6/doc/ Extracted the image converter code and compiled it and tested it by converting a JPEG image to PNG format. Compiled a more complex program from the same source and ran that. It was a bit buggy but worked, basically. These two are enough to show that the package works but I cannot see how to provide a PoC for them. Tried inserting a 2x1 ellipse into the code and expected an exception to be raised (divide by zero) but did not see one. It did issue a warning about trying to draw an ellipse with a null image. Attaching the two C scripts and image and font directories as a tar file. Compile and run the object files at the point of installation. Updated imlib2 and recompiled the test program. This no longer issued the warning about a null image when drawing the ellipse. Could be significant. Created attachment 7660 [details]
Tar file containing test files for imlib2
The binary files were compiled after the update.
Since I can see no way to test the three vulnerabilities this test will have to do I think; i.e. the library works without obvious regressions. Giving this a hesitant OK.
Len Lawrence
2016-04-12 22:32:29 CEST
Whiteboard:
(none) =>
MGA5-64-OK i586 virtualbox Ran the same set of tests before and after the update with same results as for 64-bits. Adding the OK but shall leave validation for a wee while to allow for feedback.
Len Lawrence
2016-04-13 12:31:16 CEST
Whiteboard:
MGA5-64-OK =>
MGA5-64-OK MGA5-32-OK Simpler way to test would be with any from.. $ urpmq --whatrequires lib64imlib2_1 eg. deadbeef, qiv, scrott Validating. Advisory uploaded, Keywords:
(none) =>
validated_update An update for this issue has been pushed to the Mageia Updates repository. http://advisories.mageia.org/MGASA-2016-0140.html Status:
NEW =>
RESOLVED LWN reference for CVE-2016-3993: http://lwn.net/Vulnerabilities/683843/ |