Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628184 - <app-arch/rar-5.5.0_p20170811: multiple vulnerabilities
Summary: <app-arch/rar-5.5.0_p20170811: multiple vulnerabilities
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:
Whiteboard: B2 [glsa cve]
Keywords:
Depends on:
Blocks: CVE-2017-12940, CVE-2017-12941, CVE-2017-12942
  Show dependency tree
 
Reported: 2017-08-18 14:45 UTC by GLSAMaker/CVETool Bot
Modified: 2017-09-25 21:50 UTC (History)
1 user (show)

See Also:
Package list:
app-arch/rar-5.5.0_p20170811
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 GLSAMaker/CVETool Bot gentoo-dev 2017-08-18 14:45:17 UTC
CVE-2017-12940 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-12940):
  libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the
  EncodeFileName::Decode call within the Archive::ReadHeader15 function.

CVE-2017-12941 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-12941):
  libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the
  Unpack::Unpack20 function.

CVE-2017-12942 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-12942):
  libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ
  function.
Comment 1 Thomas Deutschmann gentoo-dev Security 2017-08-18 14:54:55 UTC
It is currently not clear if these bugs are already fixed in latest upstream release rar-5.5.0.
Comment 2 Thomas Deutschmann gentoo-dev Security 2017-08-18 15:27:29 UTC
Vulnerabilities appear to be fixed in >=app-arch/rar-5.5.0_p20170811, PoCs don't work anymore/are now handled as expected.


@ Arches,

please test and mark stable: =app-arch/rar-5.5.0_p20170811
Comment 3 Thomas Deutschmann gentoo-dev Security 2017-08-18 19:15:23 UTC
amd64 & x86 stable
Comment 4 Larry the Git Cow gentoo-dev 2017-09-25 17:40:56 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ce6fd017dfc8fb475d680d63d6d8264226ddc1f

commit 8ce6fd017dfc8fb475d680d63d6d8264226ddc1f
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2017-09-25 17:40:44 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2017-09-25 17:40:44 +0000

    app-arch/rar: Security cleanup
    
    Bug: https://bugs.gentoo.org/628184
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 app-arch/rar/Manifest                         |   9 ---
 app-arch/rar/rar-5.5.0_beta4_p20170628.ebuild | 109 --------------------------
 app-arch/rar/rar-5.5.0_beta5_p20170706.ebuild | 109 --------------------------
 app-arch/rar/rar-5.5.0_beta6_p20170725.ebuild | 109 --------------------------
 4 files changed, 336 deletions(-)}
Comment 5 GLSAMaker/CVETool Bot gentoo-dev 2017-09-25 21:50:37 UTC
This issue was resolved and addressed in
 GLSA 201709-24 at https://security.gentoo.org/glsa/201709-24
by GLSA coordinator Aaron Bauman (b-man).