+1
Daily
1,084
stars
253
forks
74
watchers
1,103
prs
203
issues
0
releases
README
Ruby Advisory Database
The Ruby Advisory Database is a community effort to compile all security
advisories that are relevant to Ruby libraries.
We expect others to create the data, such as getting CVE's, GHSA's,
OSVDB's, cvss', or original vulnerability information.
More details at HERE.
You can check your own Gemfile.locks against this database by using
[bundler-audit].
Support Ruby Security!
Do you know about a vulnerability that isn't listed in this database? Open an
issue or submit a PR.
Directory Structure
The database is a list of directories that match the names of Ruby libraries on
[rubygems.org]. Within each directory are one or more advisory files
for the Ruby library. These advisory files are named using
the advisories' [CVE] or [GHSA] or [OSVDB] (legacy) identifier number.
gems/:
actionpack/:
CVE-2014-0130.yml CVE-2014-7818.yml CVE-2014-7829.yml CVE-2015-7576.yml
CVE-2015-7581.yml CVE-2016-0751.yml CVE-2016-0752.yml
rubies/:
jruby/:
...
mruby/:
...
ruby/:
...
gems/
The gems/ directory contains sub-directories that match the names of the Ruby
libraries on [rubygems.org]. Within each directory are one or more advisory
files for the Ruby library. These advisory files are named using the
advisories' [CVE] or [GHSA] ID.
rubies/
The rubies/ directory contains sub-directories for each Ruby implementation.
Within each directory are one or more advisory files for the Ruby
implementation. These advisory files are named using the advisories' [CVE]
or [GHSA] ID.
Examples
Each advisory file contains the advisory information in [YAML] format.
Here are some example advisories:
gems/actionpack/CVE-2023-22795.yml
yaml
---
gem: actionpack
cve: 2023-22795
ghsa: 8xww-x3g3-6jcv
url: https://github.com/rails/rails/releases/tag/v7.0.4.1
title: ReDoS based DoS vulnerability in Action Dispatch
date: 2023-01-18
description: |
There is a possible regular expression based DoS vulnerability in Action
Dispatch related to the If-None-Match header. This vulnerability has been
assigned the CVE identifier CVE-2023-22795.
Versions Affected: All
Not affected: None
Fixed Versions: 6.1.7.1, 7.0.4.1
Impact
A specially crafted HTTP If-None-Match header can cause the regular
expression engine to enter a state of catastrophic backtracking, when on a
version of Ruby below 3.2.0. This can cause the process to use large amounts
of CPU and memory, leading to a possible DoS vulnerability All users running
an affected release should either upgrade or use one of the workarounds
immediately.
Workarounds
We recommend that all users upgrade to one of the FIXED versions. In the
meantime, users can mitigate this vulnerability by using a load balancer or
other device to filter out malicious If-None-Match headers before they reach
the application.
Users on Ruby 3.2.0 or greater are not affected by this vulnerability.
patched_versions:
- "~ 5.2.8"
- "~ 6.1.7, = 6.1.7.1"
- "= 7.0.4.1"
Discussions
#1151How many sources of advisory data should we have?2 comments · 2026-07-01#1224Advisory Creation WORKFLOW Loose-Ends7 comments · 2026-06-21#1082Question about CVE or GHSA advisory for gems/nokogiri/OSVDB-118481.yml1 comments · 2026-05-30#1076Will we be ready for the MYTHO/AI firehouse?2 comments · 2026-05-26#1073Should we have a ""Security Manager" for the rubysec organization?4 comments · 2026-05-26#1225Shared vulnerability format for vulnerabilities11 comments · 2021-05-06