diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-11-20 18:45:28 +0000 |
commit | 796cae72cf9ed18ba01256ac1f83a686a2a76036 (patch) | |
tree | 5ca737a2562d8c0a09fcfacd81d1f9004df37b00 /metadata/glsa/glsa-201711-15.xml | |
parent | 20d8e9cfb95a9f054d654ab6405e848807186aa0 (diff) |
gentoo resync : 20.11.2017
Diffstat (limited to 'metadata/glsa/glsa-201711-15.xml')
-rw-r--r-- | metadata/glsa/glsa-201711-15.xml | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/metadata/glsa/glsa-201711-15.xml b/metadata/glsa/glsa-201711-15.xml new file mode 100644 index 000000000000..eb77bec4c008 --- /dev/null +++ b/metadata/glsa/glsa-201711-15.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> +<glsa id="201711-15"> + <title>PHPUnit: Remote code execution</title> + <synopsis>A vulnerability was discovered in PHPUnit which may allow an + unauthenticated remote attacker to execute arbitrary PHP code. + </synopsis> + <product type="ebuild">PHPUnit</product> + <announced>2017-11-19</announced> + <revised>2017-11-19: 1</revised> + <bug>635356</bug> + <access>remote</access> + <affected> + <package name="dev-php/phpunit" auto="yes" arch="*"> + <unaffected range="ge">5.7.15-r1</unaffected> + <vulnerable range="lt">5.7.15-r1</vulnerable> + </package> + </affected> + <background> + <p>PHPUnit is a programmer-oriented testing framework for PHP. It is an + instance of the xUnit architecture for unit testing frameworks. + </p> + </background> + <description> + <p>When PHPUnit is installed in a production environment via composer and + these modules are in a web accessible directory, the eval-stdin.php file + in PHPUnit contains vulnerable statements that trigger the vulnerability. + </p> + </description> + <impact type="normal"> + <p>A remote attacker could possibly execute arbitrary PHP code or cause a + Denial of Service condition. + </p> + </impact> + <workaround> + <p>There are several ways to fix or mitigate this vulnerability:</p> + + <p>Remove PHPUnit from the production environment.</p> + + <p>Update PHPUnit.</p> + + <p>Manually apply the patch.</p> + + <p>Disable direct access to the composer packages by placing .htaccess file + to /vendor folder. + </p> + </workaround> + <resolution> + <p>All PHPUnit users should upgrade to the latest version:</p> + + <code> + # emerge --sync + # emerge --ask --oneshot --verbose ">=dev-php/phpunit-5.7.15-r1" + </code> + </resolution> + <references> + <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-9841"> + CVE-2017-9841 + </uri> + </references> + <metadata tag="requester" timestamp="2017-11-14T01:26:48Z">jmbailey</metadata> + <metadata tag="submitter" timestamp="2017-11-19T20:43:04Z">jmbailey</metadata> +</glsa> |