Skip to content
Discussion options

You must be logged in to vote

Hi @narella1. I recommend building the package with Ubuntu's build tools. Linux distros like Ubuntu often make minor modifications to the source code, so if you try to use the original source code from the git repo then you're going to end up with a slightly different version of the binary. And an exploit like this depends very heavily on the binary being exactly as expected.

Here's how to build DjVuLibre from source on Ubuntu Plucky:

mkdir ~/djvulibre-src
cd ~/djvulibre-src
apt-get source djvulibre-bin
cd djvulibre-3.5.28
emacs -nw libdjvu/MMRDecoder.cpp # edit the file to revert the bugfix
debuild -i -uc -us -b

Now install it:

cd ~/djvulibre-src
sudo dpkg -i *.deb

You can get the poc, p…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@narella1
Comment options

Answer selected by narella1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants