Bug 1439662 (CVE-2017-5950) - CVE-2017-5950 yaml-cpp: Stack overflow in HandleNode()
Summary: CVE-2017-5950 yaml-cpp: Stack overflow in HandleNode()
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-5950
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1439676 1439675 1439677 1439678 1439679 1469879
Blocks: 1439664
TreeView+ depends on / blocked
 
Reported: 2017-04-06 11:41 UTC by Andrej Nemec
Modified: 2020-08-04 13:27 UTC (History)
23 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 13:27:42 UTC
Embargoed:


Attachments (Terms of Use)

Description Andrej Nemec 2017-04-06 11:41:37 UTC
The SingleDocParser::HandleNode function yaml-cpp does not limit the maximum recursion to a suitable amount. Remote attackers to cause a denial of service (stack consumption and application crash) via a crafted YAML file.

Upstream bug:

https://github.com/jbeder/yaml-cpp/issues/459

Comment 1 Andrej Nemec 2017-04-06 11:56:22 UTC
Created yaml-cpp tracking bugs for this issue:

Affects: epel-6 [bug 1439678]
Affects: epel-7 [bug 1439676]
Affects: fedora-all [bug 1439677]


Created yaml-cpp03 tracking bugs for this issue:

Affects: epel-7 [bug 1439679]
Affects: fedora-all [bug 1439675]

Comment 2 Stefan Cornelius 2017-06-29 14:57:49 UTC
It seems like MongoDB uses yaml for configuration files only, which is hardly a reasonable attack vector. Thus, I don't think that this yaml-cpp issue is a problem in a MongoDB context.

Comment 4 Product Security DevOps Team 2020-08-04 13:27:42 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2017-5950


Note You need to log in before you can comment on or make changes to this bug.