summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-03-19 19:56:46 +0100
committerThomas Deutschmann <whissi@gentoo.org>2020-03-19 19:56:46 +0100
commit0b1c26aea5f20192e1c1ba81dc14853cdf4d4217 (patch)
tree8db51b9eb6bb2e2727c1385a70ebcd941939b589 /glsa-202003-45.xml
parent[ GLSA 202003-44 ] Binary diff: Heap-based buffer overflow (diff)
downloadglsa-0b1c26aea5f20192e1c1ba81dc14853cdf4d4217.tar.gz
glsa-0b1c26aea5f20192e1c1ba81dc14853cdf4d4217.tar.bz2
glsa-0b1c26aea5f20192e1c1ba81dc14853cdf4d4217.zip
[ GLSA 202003-45 ] PyYAML: Arbitrary code execution
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'glsa-202003-45.xml')
-rw-r--r--glsa-202003-45.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/glsa-202003-45.xml b/glsa-202003-45.xml
new file mode 100644
index 00000000..e436236d
--- /dev/null
+++ b/glsa-202003-45.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
+<glsa id="202003-45">
+ <title>PyYAML: Arbitrary code execution</title>
+ <synopsis>A flaw in PyYAML might allow attackers to execute arbitrary code.</synopsis>
+ <product type="ebuild">pyyaml</product>
+ <announced>2020-03-19</announced>
+ <revised count="1">2020-03-19</revised>
+ <bug>659348</bug>
+ <access>local, remote</access>
+ <affected>
+ <package name="dev-python/pyyaml" auto="yes" arch="*">
+ <unaffected range="ge">5.1</unaffected>
+ <vulnerable range="lt">5.1</vulnerable>
+ </package>
+ </affected>
+ <background>
+ <p>PyYAML is a YAML parser and emitter for Python.</p>
+ </background>
+ <description>
+ <p>It was found that using yaml.load() API on untrusted input could lead to
+ arbitrary code execution.
+ </p>
+ </description>
+ <impact type="high">
+ <p>A remote attacker could entice a user to process specially crafted input
+ in an application using yaml.load() from PyYAML, possibly resulting in
+ execution of arbitrary code with the privileges of the process or a
+ Denial of Service condition.
+ </p>
+ </impact>
+ <workaround>
+ <p>There is no known workaround at this time.</p>
+ </workaround>
+ <resolution>
+ <p>All PyYAML users should upgrade to the latest version:</p>
+
+ <code>
+ # emerge --sync
+ # emerge --ask --oneshot --verbose "&gt;=dev-python/pyyaml-5.1"
+ </code>
+
+ </resolution>
+ <references>
+ <uri link="https://nvd.nist.gov/vuln/detail/CVE-2017-18342">CVE-2017-18342</uri>
+ </references>
+ <metadata tag="requester" timestamp="2020-03-19T18:50:48Z">whissi</metadata>
+ <metadata tag="submitter" timestamp="2020-03-19T18:55:38Z">whissi</metadata>
+</glsa>