CVE-2020-26298

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.
References
Link Resource
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h Third Party Advisory
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security Release Notes Third Party Advisory
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
https://rubygems.org/gems/redcarpet Product Third Party Advisory
https://www.debian.org/security/2021/dsa-4831 Third Party Advisory
https://github.com/advisories/GHSA-q3wr-qw3g-3p4h Third Party Advisory
https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security Release Notes Third Party Advisory
https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/
https://rubygems.org/gems/redcarpet Product Third Party Advisory
https://www.debian.org/security/2021/dsa-4831 Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:redcarpet_project:redcarpet:*:*:*:*:*:ruby:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

21 Nov 2024, 05:19

Type Values Removed Values Added
References () https://github.com/advisories/GHSA-q3wr-qw3g-3p4h - Third Party Advisory () https://github.com/advisories/GHSA-q3wr-qw3g-3p4h - Third Party Advisory
References () https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security - Release Notes, Third Party Advisory () https://github.com/vmg/redcarpet/blob/master/CHANGELOG.md#version-351-security - Release Notes, Third Party Advisory
References () https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 - Patch, Third Party Advisory () https://github.com/vmg/redcarpet/commit/a699c82292b17c8e6a62e1914d5eccc252272793 - Patch, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ -
References () https://rubygems.org/gems/redcarpet - Product, Third Party Advisory () https://rubygems.org/gems/redcarpet - Product, Third Party Advisory
References () https://www.debian.org/security/2021/dsa-4831 - Third Party Advisory () https://www.debian.org/security/2021/dsa-4831 - Third Party Advisory
CVSS v2 : 3.5
v3 : 5.4
v2 : 3.5
v3 : 6.8

09 May 2023, 04:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PXNNWHHAPREDM3XJDACYRTK7DBMUONBI/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BFMYDIONVWATY7EB6EARDVXT47AYCRNM/ -
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/FNO4ZZUPGAEUXKQL4G2HRIH7CUZKPCT6/ -
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/01/msg00014.html - Mailing List, Third Party Advisory
References (DEBIAN) https://www.debian.org/security/2021/dsa-4831 - (DEBIAN) https://www.debian.org/security/2021/dsa-4831 - Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
CVSS v2 : 4.3
v3 : 5.4
v2 : 3.5
v3 : 5.4

Information

Published : 2021-01-11 19:15

Updated : 2024-11-21 05:19


NVD link : CVE-2020-26298

Mitre link : CVE-2020-26298

CVE.ORG link : CVE-2020-26298


JSON object : View

Products Affected

redcarpet_project

  • redcarpet

debian

  • debian_linux
CWE
CWE-74

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')