Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 627152 (CVE-2017-12562) - <media-libs/libsndfile-1.0.28-r2: denial of service (CVE-2017-12562)
Summary: <media-libs/libsndfile-1.0.28-r2: denial of service (CVE-2017-12562)
Status: RESOLVED FIXED
Alias: CVE-2017-12562
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
URL:
Whiteboard: A3 [glsa+ cve]
Keywords:
Depends on: CVE-2018-13139
Blocks:
  Show dependency tree
 
Reported: 2017-08-06 08:15 UTC by Aleksandr Wagner (Kivak)
Modified: 2018-11-30 08:54 UTC (History)
2 users (show)

See Also:
Package list:
media-libs/libsndfile-1.0.28-r3
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 Aleksandr Wagner (Kivak) 2017-08-06 08:15:17 UTC
CVE-2017-12562 (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-12562):

Heap-based Buffer Overflow in the psf_binheader_writef function in common.c in libsndfile through 1.0.28 allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact. 

References:

https://github.com/erikd/libsndfile/issues/292

Commit:

https://github.com/manxorist/libsndfile/commit/b6a9d7e95888ffa77d8c75ce3f03e6c7165587cd
Comment 1 Larry the Git Cow gentoo-dev 2018-09-18 16:24:22 UTC
The bug has been referenced in the following commit(s):

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

commit fcefddf42de6342aeff7dce16760923b10a05909
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-09-18 16:21:49 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-09-18 16:21:49 +0000

    media-libs/libsndfile: Fix CVE-2017-12562
    
    Bug: https://bugs.gentoo.org/627152
    Package-Manager: Portage-2.3.49, Repoman-2.3.10

 .../files/libsndfile-1.0.28-CVE-2017-12562.patch   | 88 ++++++++++++++++++++++
 media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild  | 65 ++++++++++++++++
 2 files changed, 153 insertions(+)
Comment 2 Andreas Sturmlechner gentoo-dev 2018-09-18 16:27:55 UTC
Oh well...
Comment 3 Matt Turner gentoo-dev 2018-09-18 17:18:49 UTC
ppc/ppc64 stable
Comment 4 Andreas Sturmlechner gentoo-dev 2018-09-18 21:25:24 UTC
Bumping stabilisation for bug 660452 and re-adding powerpc, sorry about that.
Comment 5 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2018-09-19 11:54:25 UTC
amd64 stable
Comment 6 Rolf Eike Beer archtester 2018-09-19 16:19:48 UTC
sparc done.
Comment 7 Thomas Deutschmann gentoo-dev Security 2018-09-19 17:36:47 UTC
x86 stable
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-22 11:41:09 UTC
hppa stable
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-22 11:46:59 UTC
ia64 stable
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-22 11:48:25 UTC
ppc64 stable
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2018-09-22 11:49:31 UTC
ppc stable
Comment 12 Markus Meier gentoo-dev 2018-09-24 18:12:30 UTC
arm stable
Comment 13 Tobias Klausmann gentoo-dev 2018-10-02 10:58:56 UTC
Stable on alpha.
Comment 14 Andreas Sturmlechner gentoo-dev 2018-10-03 18:32:43 UTC
Seems like hppa was forgotten to un-CC and we are actually done here.
Comment 15 Larry the Git Cow gentoo-dev 2018-10-03 18:52:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d764439209b09293cebf18eb0f4a5a6bc7a2c0e

commit 1d764439209b09293cebf18eb0f4a5a6bc7a2c0e
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-10-03 18:33:57 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-10-03 18:33:57 +0000

    media-libs/libsndfile: Security cleanup
    
    Bug: https://bugs.gentoo.org/627152
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 media-libs/libsndfile/libsndfile-1.0.28-r1.ebuild | 62 ---------------------
 media-libs/libsndfile/libsndfile-1.0.28-r2.ebuild | 66 -----------------------
 2 files changed, 128 deletions(-)
Comment 16 GLSAMaker/CVETool Bot gentoo-dev 2018-11-30 08:54:05 UTC
This issue was resolved and addressed in
 GLSA 201811-23 at https://security.gentoo.org/glsa/201811-23
by GLSA coordinator Aaron Bauman (b-man).