Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1643089 - (CVE-2018-16396) CVE-2018-16396 ruby: Tainted flags are not propagated in Array#pack and String#unpack with some directives
CVE-2018-16396 ruby: Tainted flags are not propagated in Array#pack and Strin...
Status: NEW
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=20181017,repor...
: Security
Depends On: 1643091 1643092
Blocks: 1643090
  Show dependency treegraph
 
Reported: 2018-10-25 09:37 EDT by Andrej Nemec
Modified: 2018-10-25 09:41 EDT (History)
27 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2018-10-25 09:37:46 EDT
Array#pack method converts the receiver’s contents into a string with specified format. If the receiver contains some tainted objects, the returned string also should be tainted. String#unpack method which converts the receiver into an array also should propagate its tainted flag to the objects contained in the returned array. But, with B, b, H and h directives, the tainted flags are not propagated. So, if a script processes unreliable inputs by Array#pack and/or String#unpack with these directives and checks the reliability with tainted flags, the check might be wrong.

External References:

https://www.ruby-lang.org/en/news/2018/10/17/not-propagated-taint-flag-in-some-formats-of-pack-cve-2018-16396/
Comment 1 Andrej Nemec 2018-10-25 09:40:17 EDT
Created ruby tracking bugs for this issue:

Affects: fedora-all [bug 1643091]

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