yaml-cpp: CVE-2018-20574: Stack Overflow in SingleDocParser::HandleFlowMap()

Related Vulnerabilities: CVE-2018-20574   CVE-2017-5950  

Debian Bug report logs - #918145
yaml-cpp: CVE-2018-20574: Stack Overflow in SingleDocParser::HandleFlowMap()

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 3 Jan 2019 20:09:01 UTC

Severity: important

Tags: security, upstream

Found in version yaml-cpp/0.5.3-0.2

Forwarded to https://github.com/jbeder/yaml-cpp/issues/654

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, team@security.debian.org, Simon Quigley <tsimonq2@debian.org>:
Bug#918145; Package src:yaml-cpp. (Thu, 03 Jan 2019 20:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, team@security.debian.org, Simon Quigley <tsimonq2@debian.org>. (Thu, 03 Jan 2019 20:09:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: yaml-cpp: CVE-2018-20574: Stack Overflow in SingleDocParser::HandleFlowMap()
Date: Thu, 03 Jan 2019 21:05:00 +0100
Source: yaml-cpp
Version: 0.5.3-0.2
Severity: grave
Tags: security
Forwarded: https://github.com/jbeder/yaml-cpp/issues/654
Control: clone -1 -2
Control: reassign -2 src:yaml-cpp0.3 0.3.0-1.2
Control: retitle -2 yaml-cpp0.3: CVE-2018-20574: Stack Overflow in SingleDocParser::HandleFlowMap()

Hi,

The following vulnerability was published for yaml-cpp.

CVE-2018-20574[0]:
| The SingleDocParser::HandleFlowMap function in yaml-cpp (aka
| LibYaml-C++) 0.6.2 allows remote attackers to cause a denial of service
| (stack consumption and application crash) via a crafted YAML file.

The issue looks similar to CVE-2017-5950, but it is triggered in
different part, thus I think the two distinct CVEs seems valid.

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2018-20574
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20574
[1] https://github.com/jbeder/yaml-cpp/issues/654

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore



Bug 918145 cloned as bug 918146 Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Thu, 03 Jan 2019 20:09:04 GMT) (full text, mbox, link).


Severity set to 'important' from 'grave' Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 03 Jan 2019 20:18:05 GMT) (full text, mbox, link).


Added tag(s) upstream. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Thu, 03 Jan 2019 20:18:07 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Jun 19 14:10:53 2019; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.