aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-11-29 22:45:09 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-11-29 22:45:09 +0000
commitdaa7c7a8dbf0e03115381bd534e71456ae3ef32e (patch)
tree717ec854ef6cef7d0f8ca9f4d7fc4b42426a3739
parente0e82d3c2ed81e267470c6719e1cb3cdc8ea3b1c (diff)
downloadsos-daa7c7a8dbf0e03115381bd534e71456ae3ef32e.tar.gz
Don't collect subscription manager keys in yum module (CVE-2011-4083)
-rw-r--r--sos/plugins/yum.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/yum.py b/sos/plugins/yum.py
index 74a04130..2e74cdef 100644
--- a/sos/plugins/yum.py
+++ b/sos/plugins/yum.py
@@ -48,6 +48,7 @@ class yum(Plugin, RedHatPlugin):
# candlepin info
self.addForbiddenPath("/etc/pki/entitlements/key.pem")
+ self.addForbiddenPath("/etc/pki/entitlements/*-key.pem")
self.addCopySpecs([
"/etc/pki/product/*.pem",
"/etc/pki/consumer/cert.pem",