Is rdoc 4.3 vulnerable?

RubyGems · 1 release from 4.3.0 to 4.3.0 · latest rdoc is 8.1.0 · checked 18 Nov 2026

Yes: 1 known advisory

Yes. rdoc 4.3.0, the last 4.3 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?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

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 4.3.0

  • HighCVE-2021-31799GHSA-ggxm-pgc9-g7fp1 Sept 2021

    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 4.3?

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.