Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1323108 - (CVE-2016-4071) CVE-2016-4071 php: Format string vulnerability in php_snmp_error()
CVE-2016-4071 php: Format string vulnerability in php_snmp_error()
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160302,repor...
: Security
Depends On: 1323112
Blocks: 1323121
  Show dependency treegraph
 
Reported: 2016-04-01 06:09 EDT by Adam Mariš
Modified: 2017-06-23 07:03 EDT (History)
14 users (show)

See Also:
Fixed In Version: php 5.5.34, php 5.6.20, php 7.0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-23 07:03:51 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2750 normal SHIPPED_LIVE Moderate: rh-php56 security, bug fix, and enhancement update 2016-11-15 11:40:02 EST

  None (edit)
Description Adam Mariš 2016-04-01 06:09:35 EDT
A format string vulnerability was found in php_snmp_error() in ext/snmp/snmp.c, possibly leading to code execution. snmp_object->snmp_errstr is passed directly to zend_throw_exception_ex() without a "%s".

Upstream bug:

https://bugs.php.net/bug.php?id=71704

Upstream patch:

https://git.php.net/?p=php-src.git;a=commit;h=6e25966544fb1d2f3d7596e060ce9c9269bbdcf8
Comment 1 Adam Mariš 2016-04-01 06:10:52 EDT
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1323112]
Comment 2 Fedora Update System 2016-04-09 10:21:01 EDT
php-5.6.20-1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
Comment 3 Fedora Update System 2016-04-09 10:22:30 EDT
php-5.6.20-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Comment 6 Stefan Cornelius 2016-05-04 12:03:11 EDT
SNMP is usually only used within LANs, which limits the attack vector. Additionally, this is only an issue if exception processing is enabled for the SNMP object-

Mitigation:

Do not enable exceptions when using the SNMP object.
Comment 8 errata-xmlrpc 2016-11-15 06:50:45 EST
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS

Via RHSA-2016:2750 https://rhn.redhat.com/errata/RHSA-2016-2750.html

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