This repository has been archived by the owner on Jan 15, 2025. It is now read-only.
(PA-6282) RDoc vulnerability in Puppet7/Ruby 2.7.8 (CVE-2024-27281) #907
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
References
Ruby disclosed on HackerOne: RCE by parsing
.rdoc_options
in RDoc Specifically:0001-Filter-marshaled-objects-ruby30.patch (F3085308)
0001-Use-safe_load-and-safe_load_file-for-rdoc_options.patch (F3085309)
https://git.launchpad.net/ubuntu/+source/ruby2.7/commit/?id=7584287c1cf59926252197badedde2cbc08e084c
Testing Done
Agent Runtime 7.x build
vanagon-generic-builder (generic) Generic Builder Step 03 -- Vanagon Project Packaging #3209 Console [Jenkins]
Agent Runtime Artifacts
Index of /puppet-runtime/99588328fc2eaf6c3ac5390a3c7214ac66159675/artifacts/
Puppet Agent 7.x Build
vanagon-generic-builder (generic) Generic Builder Step 03 -- Vanagon Project Packaging #3210 [Jenkins]
Puppet Agent 7.x Artifacts
Index of /puppet-agent/b3da7d646f28a489e6e04ce291214655d0adb78a/artifacts/deb/bionic/puppet7/
Index of /puppet-agent/b3da7d646f28a489e6e04ce291214655d0adb78a/artifacts/el/7/puppet7/x86_64/