Skip to content

Commit 80016d8

Browse files
authored
Merge pull request #1117 from jasnow/add-json-desc-line-len-check
Added description: line length max check plus fixed existing files Thanks @simi for the review.
2 parents 85b6b5a + 53b6a68 commit 80016d8

13 files changed

Lines changed: 73 additions & 32 deletions

File tree

gems/actionpack/CVE-2012-1099.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,12 @@ url: https://nvd.nist.gov/vuln/detail/CVE-2012-1099
88
title: "CVE-2012-1099 rubygem-actionpack: XSS in the \"select\" helper"
99
date: 2012-03-01
1010
description: |
11-
Cross-site scripting (XSS) vulnerability in actionpack/lib/action_view/helpers/form_options_helper.rb
12-
in the select helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and
13-
3.2.x before 3.2.2 allows remote attackers to inject arbitrary web script or HTML
14-
via vectors involving certain generation of OPTION elements within SELECT elements.
11+
Cross-site scripting (XSS) vulnerability in
12+
actionpack/lib/action_view/helpers/form_options_helper.rb in the select
13+
helper in Ruby on Rails 3.0.x before 3.0.12, 3.1.x before 3.1.4, and
14+
3.2.x before 3.2.2 allows remote attackers to inject arbitrary web
15+
script or HTML via vectors involving certain generation of OPTION
16+
elements within SELECT elements.
1517
cvss_v2: 4.3
1618
patched_versions:
1719
- "~> 3.0.12"

gems/addressable/CVE-2021-32740.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ url: https://github.com/advisories/GHSA-jxhc-q857-3j6g
66
date: 2021-07-12
77
title: Regular Expression Denial of Service in Addressable templates
88
description: |
9-
Within the URI template implementation in Addressable, a maliciously crafted template may result in uncontrolled resource consumption,
10-
leading to denial of service when matched against a URI. In typical usage, templates would not normally be read from untrusted user input,
11-
but nonetheless, no previous security advisory for Addressable has cautioned against doing this.
12-
Users of the parsing capabilities in Addressable but not the URI template capabilities are unaffected.
9+
Within the URI template implementation in Addressable, a maliciously
10+
crafted template may result in uncontrolled resource consumption,
11+
leading to denial of service when matched against a URI. In typical
12+
usage, templates would not normally be read from untrusted user input,
13+
but nonetheless, no previous security advisory for Addressable has
14+
cautioned against doing this. Users of the parsing capabilities in
15+
Addressable but not the URI template capabilities are unaffected.
1316
cvss_v3: 7.5
1417
unaffected_versions:
1518
- "< 2.3.0"

gems/fat_free_crm/CVE-2018-20975.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ url: https://github.com/fatfreecrm/fat_free_crm/commit/6d60bc8ed010c4eda05d6645c
66
date: 2019-08-21
77
title: fat_free_crm XSS via query parameter of tags_helper method
88
description: |
9-
Fat Free CRM before 0.18.1 has XSS in the tags_helper in app/helpers/tags_helper.rb.
9+
Fat Free CRM before 0.18.1 has XSS in the tags_helper in
10+
app/helpers/tags_helper.rb.
1011
cvss_v3: 6.1
1112
patched_versions:
1213
- ">= 0.18.1"

gems/http/CVE-2015-1828.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ url: https://groups.google.com/forum/#!topic/httprb/jkb4oxwZjkU
77
title: HTTPS MitM vulnerability in http.rb
88
date: 2015-03-24
99
description: |
10-
http.rb failed to call the OpenSSL::SSL::SSLSocket#post_connection_check method to perform hostname verification.
11-
Because of this, an attacker with a valid certificate but with a mismatched subject can perform a MitM attack.
10+
http.rb failed to call the OpenSSL::SSL::SSLSocket#post_connection_check
11+
method to perform hostname verification. Because of this, an attacker with
12+
a valid certificate but with a mismatched subject can perform a MitM attack.
1213
cvss_v2: 5.0
1314
cvss_v3: 5.9
1415
patched_versions:

gems/nokogiri/CVE-2019-13118.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,14 @@ url: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15069
66
title: libxslt Type Confusion vulnerability that affects Nokogiri
77
date: 2022-05-24
88
description: |
9-
In `numbers.c` in libxslt 1.1.33, a type holding grouping characters of an `xsl:number` instruction was too narrow and an invalid character/length combination could be passed to `xsltNumberFormatDecimal`, leading to a read of uninitialized stack data.
9+
In `numbers.c` in libxslt 1.1.33, a type holding grouping characters of
10+
an `xsl:number` instruction was too narrow and an invalid character/length
11+
combination could be passed to `xsltNumberFormatDecimal`, leading to
12+
a read of uninitialized stack data.
1013
11-
Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt. Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this and other vulnerabilities in libxslt.
14+
Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt.
15+
Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this
16+
and other vulnerabilities in libxslt.
1217
cvss_v3: 7.5
1318
patched_versions:
1419
- ">= 1.10.5"

gems/nokogiri/CVE-2021-3517.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,17 @@ url: https://bugzilla.redhat.com/show_bug.cgi?id=1954232
66
title: Nokogiri contains libxml Out-of-bounds Write vulnerability
77
date: 2022-05-24
88
description: |
9-
There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.
9+
There is a flaw in the xml entity encoding functionality of libxml2 in
10+
versions before 2.9.11. An attacker who is able to supply a crafted
11+
file to be processed by an application linked with the affected
12+
functionality of libxml2 could trigger an out-of-bounds read. The
13+
most likely impact of this flaw is to application availability, with
14+
some potential impact to confidentiality and integrity if an attacker
15+
is able to use memory information to further exploit the application.
1016
11-
Nokogiri prior to version 1.11.4 used a vulnerable version of libxml2. Nokogiri 1.11.4 updated libxml2 to version 2.9.11 to address this and other vulnerabilities in libxml2.
17+
Nokogiri prior to version 1.11.4 used a vulnerable version of libxml2.
18+
Nokogiri 1.11.4 updated libxml2 to version 2.9.11 to address this and
19+
other vulnerabilities in libxml2.
1220
cvss_v3: 8.6
1321
patched_versions:
1422
- ">= 1.11.4"

gems/private_address_check/CVE-2017-0909.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ url: https://github.com/jtdowney/private_address_check/pull/3
66
title: private_address_check Ruby Gem Blacklist Bypass privilege escalation
77
date: 2017-11-09
88
description: |
9-
The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass due to an incomplete
10-
blacklist of common private/local network addresses used to prevent server-side request forgery.
9+
The private_address_check ruby gem before 0.4.1 is vulnerable to a bypass
10+
due to an incomplete blacklist of common private/local network addresses
11+
used to prevent server-side request forgery.
1112
cvss_v2: 7.5
1213
cvss_v3: 9.8
1314
patched_versions:

gems/web-console/CVE-2015-3224.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,17 @@ url: https://groups.google.com/forum/#!topic/ruby-security-ann/lzmz9_ijUFw
66
title: IP whitelist bypass in Web Console
77
date: 2015-06-16
88
description: |
9-
Specially crafted remote requests can spoof their origin, bypassing the IP whitelist, in any environment where Web Console is enabled (development and test, by default).
9+
Specially crafted remote requests can spoof their origin, bypassing the
10+
IP whitelist, in any environment where Web Console is enabled
11+
(development and test, by default).
1012
11-
Users whose application is only accessible from localhost (as is the default behaviour in Rails 4.2) are not affected, unless a local proxy is involved.
13+
Users whose application is only accessible from localhost (as is the default
14+
behaviour in Rails 4.2) are not affected, unless a local proxy is involved.
1215
13-
All affected users should either upgrade or use one of the work arounds immediately.
16+
All affected users should either upgrade or use one of the work arounds
17+
immediately.
1418
15-
To work around this issue, turn off web-console in all environments, by removing/commenting it from the application's Gemfile.
19+
To work around this issue, turn off web-console in all environments,
20+
by removing/commenting it from the application's Gemfile.
1621
patched_versions:
1722
- ">= 2.1.3"

rubies/ruby/CVE-2021-33621.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@ url: https://www.ruby-lang.org/en/news/2022/11/22/http-response-splitting-in-cgi
55
title: HTTP response splitting in CGI
66
date: 2022-11-22
77
description: |
8-
If an application that generates HTTP responses using the cgi gem with untrusted user input, an attacker can exploit it to inject a malicious HTTP response header and/or body.
8+
If an application that generates HTTP responses using the cgi gem with
9+
untrusted user input, an attacker can exploit it to inject a malicious
10+
HTTP response header and/or body.
911
10-
Also, the contents for a CGI::Cookie object were not checked properly. If an application creates a CGI::Cookie object based on user input, an attacker may exploit it to inject invalid attributes in Set-Cookie header. We think such applications are unlikely, but we have included a change to check arguments for CGI::Cookie#initialize preventatively.
12+
Also, the contents for a CGI::Cookie object were not checked properly. If
13+
an application creates a CGI::Cookie object based on user input, an
14+
attacker may exploit it to inject invalid attributes in Set-Cookie header.
15+
We think such applications are unlikely, but we have included a change
16+
to check arguments for CGI::Cookie#initialize preventatively.
1117
cvss_v3: 8.8
1218
patched_versions:
1319
- "~> 2.7.7"

rubies/ruby/CVE-2025-24294.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,17 @@ url: https://www.ruby-lang.org/en/news/2025/07/08/dos-resolv-cve-2025-24294/
55
title: Possible Denial of Service in resolv gem
66
date: 2025-07-08
77
description: |
8-
A denial of service vulnerability has been discovered in the `resolv` gem bundled with Ruby.
8+
A denial of service vulnerability has been discovered in the `resolv`
9+
gem bundled with Ruby.
910
10-
The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.
11-
An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet,
12-
the name-decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.
13-
This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.
11+
The vulnerability is caused by an insufficient check on the length of
12+
a decompressed domain name within a DNS packet. An attacker can craft
13+
a malicious DNS packet containing a highly compressed domain name.
14+
When the resolv library parses such a packet, the name-decompression
15+
process consumes a large amount of CPU resources, as the library
16+
does not limit the resulting length of the name.
17+
This resource consumption can cause the application thread to become
18+
unresponsive, resulting in a Denial of Service condition.
1419
patched_versions:
1520
- "~> 3.2.9"
1621
- "~> 3.3.9"

0 commit comments

Comments
 (0)