Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 515274 - <app-arch/dump-0.4.46: LZO Denial of Service and Arbitrary Code Execution through embedded code
Summary: <app-arch/dump-0.4.46: LZO Denial of Service and Arbitrary Code Execution thr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL: http://seclists.org/oss-sec/2014/q2/676
Whiteboard: B3 [noglsa]
Keywords:
Depends on: 589762
Blocks: CVE-2014-4607
  Show dependency tree
 
Reported: 2014-06-27 01:08 UTC by Yury German
Modified: 2017-07-16 00:49 UTC (History)
1 user (show)

See Also:
Package list:
=app-arch/dump-0.4.46
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yury German Gentoo Infrastructure gentoo-dev 2014-06-27 01:08:43 UTC
It is suspected that this package is vulnerable to a security vulnerability in LZO. As such we ask maintainers with packages suspected to be vulnerable to verify if the package is (or have been) affected. 

Please see the information contained in the tracker bug 515246. "An integer overflow may occur when processing any variant of a "literal run" in the lzo1x_decompress_safe function. Each of these three locations is subject to an integer overflow when processing zero bytes.", additional information about the upstream vulnerability is available at http://seclists.org/oss-sec/2014/q2/665

Reproducible: Didn't try
Comment 1 SpanKY gentoo-dev 2016-05-06 02:57:14 UTC
fixed upstream here:
https://sourceforge.net/p/dump/code/ci/b498b6fbf486e2fc0753f605723fc798a5241e78/

need to make a release though
Comment 2 SpanKY gentoo-dev 2016-05-09 06:41:24 UTC
it's in the tree now, but will need time to bake as there hasn't been a new release in a while now
Comment 3 Joshua Kinard gentoo-dev 2016-05-26 12:58:29 UTC
(In reply to SpanKY from comment #2)
> it's in the tree now, but will need time to bake as there hasn't been a new
> release in a while now

0.4.45 doesn't like linking against unstable openssl, it seems.  Hardened toolchain setup, removing LTO or Graphite doesn't matter:

libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=corei7 -mtune=corei7 -mfpmath=sse -msse -msse2 -mssse3 -msse4.1 -msse4.2 -mcx16 -msahf -mcrc32 -maccumulate-outgoing-args -fforce-addr -fmodulo-sched -fivopts -ftree-loop-im -ftree-loop-linear -ftree-loop-ivcanon -fgcse-after-reload -fgcse-lm -fgcse-sm -fgcse-las -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize -flto=8 -fuse-linker-plugin -fno-lto -fno-use-linker-plugin -fno-lto -fno-use-linker-plugin -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block -O2 -march=corei7 -mtune=corei7 -mfpmath=sse -msse -msse2 -mssse3 -msse4.1 -msse4.2 -mcx16 -msahf -mcrc32 -maccumulate-outgoing-args -fforce-addr -fmodulo-sched -fivopts -ftree-loop-im -ftree-loop-linear -ftree-loop-ivcanon -fgcse-after-reload -fgcse-lm -fgcse-sm -fgcse-las -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize -flto=8 -fuse-linker-plugin -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-lto -fno-use-linker-plugin -fno-lto -fno-use-linker-plugin -fno-loop-interchange -fno-tree-loop-distribution -fno-loop-strip-mine -fno-loop-block -o ermt ermt.o cipher.o  ../compat/lib/.libs/libcompat.a -lblkid -lext2fs
cipher.o: In function `cipher':
cipher.c:(.text+0x95): undefined reference to `EVP_CipherUpdate'
cipher.c:(.text+0xf7): undefined reference to `EVP_bf_cbc'
cipher.c:(.text+0x1c3): undefined reference to `EVP_md5'
cipher.c:(.text+0x1f0): undefined reference to `EVP_BytesToKey'
cipher.c:(.text+0x1fc): undefined reference to `EVP_CIPHER_CTX_init'
cipher.c:(.text+0x21a): undefined reference to `EVP_CipherInit_ex'
cipher.c:(.text+0x228): undefined reference to `EVP_CIPHER_CTX_set_padding'
cipher.c:(.text+0x235): undefined reference to `OPENSSL_cleanse'
cipher.c:(.text+0x242): undefined reference to `OPENSSL_cleanse'
cipher.c:(.text+0x24f): undefined reference to `OPENSSL_cleanse'
cipher.c:(.text+0x25b): undefined reference to `EVP_CIPHER_CTX_block_size'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:433: ermt] Error 1
make[2]: Leaving directory '/ramfs/portage/app-arch/dump-0.4.45/work/dump-0.4b45/rmt'
make[1]: *** [Makefile:437: all-recursive] Error 1
make[1]: Leaving directory '/ramfs/portage/app-arch/dump-0.4.45/work/dump-0.4b45'
make: *** [Makefile:368: all] Error 2
 * ERROR: app-arch/dump-0.4.45::gentoo failed (compile phase):
 *   emake failed
Comment 4 SpanKY gentoo-dev 2016-05-26 20:59:22 UTC
(In reply to Joshua Kinard from comment #3)

please don't report bugs here.  file new ones.
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2016-07-04 11:45:19 UTC
Any changes here?
Comment 6 Aaron Bauman (RETIRED) gentoo-dev 2016-07-24 02:10:06 UTC
(In reply to SpanKY from comment #2)
> it's in the tree now, but will need time to bake as there hasn't been a new
> release in a while now

Can we stabilize this yet?
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-29 19:17:16 UTC
@ Arches,

please test and mark stable: =app-arch/dump-0.4.46
Comment 8 Agostino Sarubbo gentoo-dev 2016-12-01 12:51:42 UTC
amd64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2016-12-01 12:54:24 UTC
x86 stable
Comment 10 Tobias Klausmann (RETIRED) gentoo-dev 2016-12-02 14:21:36 UTC
Stable on alpha.
Comment 11 Agostino Sarubbo gentoo-dev 2017-01-11 10:36:58 UTC
sparc stable
Comment 12 Agostino Sarubbo gentoo-dev 2017-01-15 15:50:49 UTC
ppc stable
Comment 13 Agostino Sarubbo gentoo-dev 2017-01-17 14:25:20 UTC
ia64 stable
Comment 14 Agostino Sarubbo gentoo-dev 2017-01-18 10:03:17 UTC
ppc64 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 15 Aaron Bauman (RETIRED) gentoo-dev 2017-01-24 04:00:05 UTC
https://github.com/gentoo/gentoo/pull/3613
Comment 16 Yury German Gentoo Infrastructure gentoo-dev 2017-04-17 01:14:17 UTC
Thank you all for your work. 
GLSA Vote = No

Maintainer(s), please drop the vulnerable version(s).
Comment 17 Yury German Gentoo Infrastructure gentoo-dev 2017-05-25 05:47:31 UTC
Maintainer(s), please drop the vulnerable version(s).