Is rdoc 5.1 vulnerable?
RubyGems · 1 release from 5.1.0 to 5.1.0 · latest rdoc is 8.1.0 · checked 18 Nov 2026
Yes: 1 known advisory
Yes. rdoc 5.1.0, the last 5.1 release, is affected by 1 known security advisory (1 high), including CVE-2021-31799. Upgrade to 6.1.2.1 or later to fix all of them.
Upgrade with:
bundle update --conservative rdoc # Gemfile: '>= 6.1.2.1'Is your project on an affected rdoc?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Advisories affecting rdoc 5.1.0
Arbitrary Code Execution in Rdoc
- Affected
- >=3.11 <6.1.2.1 · >=6.2.0 <6.2.1.1 · >=6.3.0 <6.3.1
- Fixed in
- 6.1.2.1, 6.2.1.1, 6.3.1
Which of your client projects are still on rdoc 5.1?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact rdoc version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other rdoc versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the RubyGems registry. Refreshed daily.