REDHAT-BUG-2590655: Medium severity Red Hat subscription-manager vulnerability
A flaw was found in subscription-manager. The ProductCertificateFilter.setfilterstring helper translates caller-supplied fnmatch-style filter strings into regular expressions by mapping each '' wildcard to an unbounded '.' quantifier. An unprivileged local user can invoke com.redhat.RHSM1.Products.ListInstalledProducts with a filter containing many consecutive wildcards followed by a literal that is absent from installed product names, causing catastrophic regex backtracking in the root-run RHSM D-Bus daemon and denying availability of RHSM services for the duration of the hang. Only availability is affected.
Affected Software
Event History
Frequently Asked Questions
Who can trigger the denial of service?
An unprivileged local user can trigger it by invoking the com.redhat.RHSM1.Products.ListInstalledProducts D-Bus method. The affected processing occurs in the root-run RHSM D-Bus daemon.
What input characteristics are required to cause the hang?
The filter must contain many consecutive '*' wildcards followed by a literal that does not occur in installed product names. This causes catastrophic regular-expression backtracking.
What is the expected impact?
Only availability is affected. RHSM services can be denied for the duration of the daemon hang.