CVE-2020-26298
CVSS V2 Low 3.5
CVSS V3 Medium 5.4
Description
Redcarpet is a Ruby library for Markdown processing. In Redcarpet before version 3.5.1, there is an injection vulnerability which can enable a cross-site scripting attack. In affected versions no HTML escaping was being performed when processing quotes. This applies even when the `:escape_html` option was being used. This is fixed in version 3.5.1 by the referenced commit.
Overview
- CVE ID
- CVE-2020-26298
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-01-11T19:15:13
- Last Modified Date
- 2022-10-07T00:22:56
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:* | 1 | OR | 3.5.1 | |
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 5.4
- Base Severity
- MEDIUM
- Exploitability Score
- 2.3
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 | Patch Third Party Advisory |
https://rubygems.org/gems/redcarpet | Product Third Party Advisory |
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security | Release Notes Third Party Advisory |
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html | |
https://www.debian.org/security/2021/dsa-4831 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-26298 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-26298 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:27:04 | Added to TrackCVE | |||
2022-12-05 19:44:35 | 2021-01-11T19:15Z | 2021-01-11T19:15:13 | CVE Published Date | updated |
2022-12-05 19:44:35 | 2022-10-07T00:22:56 | CVE Modified Date | updated | |
2022-12-05 19:44:35 | Analyzed | Vulnerability Status | updated |