Skip to content

Commit 2a00cfa

Browse files
committed
Sync with GitHub Security Advisories
* Add CVE-2022-45442 for sinatra * Add CVSSv3 score for several advisories
1 parent 422c4c9 commit 2a00cfa

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

gems/activerecord/CVE-2022-32224.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ description: |
7070
-----------
7171
There are no feasible workarounds for this issue, but other coders (such as
7272
JSON) are not impacted.
73+
cvss_v3: 9.8
7374
patched_versions:
7475
- "~> 5.2.8, >= 5.2.8.1"
7576
- "~> 6.0.5, >= 6.0.5.1"

gems/rack/CVE-2022-30122.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ description: |
3838
3939
## Workarounds
4040
There are no feasible workarounds for this issue.
41+
cvss_v3: 7.5
4142
unaffected_versions:
4243
- "< 1.2"
4344
patched_versions:

gems/rack/CVE-2022-30123.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ description: |
3838
3939
## Workarounds
4040
Remove these middleware from your application
41+
cvss_v3: 10.0
4142
patched_versions:
4243
- "~> 2.0.9, >= 2.0.9.1"
4344
- "~> 2.1.4, >= 2.1.4.1"

gems/sinatra/CVE-2022-45442.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
gem: sinatra
3+
cve: 2022-45442
4+
ghsa: 2x8x-jmrp-phxw
5+
url: https://github.com/sinatra/sinatra/security/advisories/GHSA-2x8x-jmrp-phxw
6+
title: Sinatra vulnerable to Reflected File Download attack
7+
date: 2022-11-30
8+
description: |
9+
An issue was discovered in Sinatra 2.0 before 2.2.3 and 3.0 before 3.0.4.
10+
An application is vulnerable to a reflected file download (RFD) attack that
11+
sets the Content-Disposition header of a response when the filename is
12+
derived from user-supplied input.
13+
cvss_v3: 8.8
14+
patched_versions:
15+
- "~> 2.2.3"
16+
- ">= 3.0.4"
17+
related:
18+
url:
19+
- https://www.blackhat.com/docs/eu-14/materials/eu-14-Hafif-Reflected-File-Download-A-New-Web-Attack-Vector.pdf
20+
- https://github.com/sinatra/sinatra/commit/ea8fc9495a350f7551b39e3025bfcd06f49f363b
21+
ghsa:
22+
- 8x94-hmjh-97hq

0 commit comments

Comments
 (0)