Summary: | segmentation fault (and probable stack smashing) in pdfseparate | ||
---|---|---|---|
Product: | poppler | Reporter: | Daniel Kahn Gillmor <dkg> |
Component: | utils | Assignee: | poppler-bugs <poppler-bugs> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Daniel Kahn Gillmor
2013-09-16 18:25:49 UTC
(In reply to comment #0) > A) they could provide a srcFileName long enough to overflow pathName. > this will write to arbitrary memory. This has been fixed by me in b8682d868ddf7f741e93b791588af0932893f95c. About B) I know it's fun, but I mean, someone is already running a command line application into your computer, I think they have easier ways to exploit you than finding a way to make pdfseparate crash, no? Alas, web applications often invoke command-line tools that do "reasonable" things (like splitting a PDF), and they invoke them sometimes in "reasonable" ways (e.g. by providing the name of an uploaded file with a suffix as an argument). We can argue about whether these things are actually "reasonable", but people will still do them, and pdfseparate probably shouldn't crash or execute arbitrary code in the meantime. Well, I guess it should not be that hard to write a check that there is no other % than one %d and pairs of %%. Anyone up to the task? will be fixed in next vesion |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.