GSD-2019-17626

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2019-17626",
    "description": "ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with \u0027\u003cspan color=\"\u0027 followed by arbitrary Python code.",
    "id": "GSD-2019-17626",
    "references": [
      "https://www.suse.com/security/cve/CVE-2019-17626.html",
      "https://www.debian.org/security/2020/dsa-4663",
      "https://access.redhat.com/errata/RHSA-2020:0230",
      "https://access.redhat.com/errata/RHSA-2020:0201",
      "https://access.redhat.com/errata/RHSA-2020:0197",
      "https://access.redhat.com/errata/RHSA-2020:0195",
      "https://ubuntu.com/security/CVE-2019-17626",
      "https://advisories.mageia.org/CVE-2019-17626.html",
      "https://linux.oracle.com/cve/CVE-2019-17626.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2019-17626"
      ],
      "details": "ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with \u0027\u003cspan color=\"\u0027 followed by arbitrary Python code.",
      "id": "GSD-2019-17626",
      "modified": "2023-12-13T01:23:44.641006Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2019-17626",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with \u0027\u003cspan color=\"\u0027 followed by arbitrary Python code."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code",
            "refsource": "MISC",
            "url": "https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code"
          },
          {
            "name": "https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md",
            "refsource": "MISC",
            "url": "https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md"
          },
          {
            "name": "RHSA-2020:0197",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2020:0197"
          },
          {
            "name": "RHSA-2020:0195",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2020:0195"
          },
          {
            "name": "FEDORA-2020-d2fb999600",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/"
          },
          {
            "name": "RHSA-2020:0230",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2020:0230"
          },
          {
            "name": "RHSA-2020:0201",
            "refsource": "REDHAT",
            "url": "https://access.redhat.com/errata/RHSA-2020:0201"
          },
          {
            "name": "FEDORA-2020-f3e0ba2f79",
            "refsource": "FEDORA",
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/"
          },
          {
            "name": "openSUSE-SU-2020:0160",
            "refsource": "SUSE",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html"
          },
          {
            "name": "USN-4273-1",
            "refsource": "UBUNTU",
            "url": "https://usn.ubuntu.com/4273-1/"
          },
          {
            "name": "[debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security update",
            "refsource": "MLIST",
            "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html"
          },
          {
            "name": "DSA-4663",
            "refsource": "DEBIAN",
            "url": "https://www.debian.org/security/2020/dsa-4663"
          },
          {
            "name": "GLSA-202007-35",
            "refsource": "GENTOO",
            "url": "https://security.gentoo.org/glsa/202007-35"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c=3.5.26",
          "affected_versions": "All versions up to 3.5.26",
          "cvss_v2": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-78",
            "CWE-91",
            "CWE-937"
          ],
          "date": "2022-06-27",
          "description": "ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with \u0027\u003cspan color=\"\u0027 followed by arbitrary Python code.",
          "fixed_versions": [
            "3.5.28"
          ],
          "identifier": "CVE-2019-17626",
          "identifiers": [
            "GHSA-qpg2-vx7j-3869",
            "CVE-2019-17626"
          ],
          "not_impacted": "All versions after 3.5.26",
          "package_slug": "pypi/reportlab",
          "pubdate": "2022-05-24",
          "solution": "Upgrade to version 3.5.28 or above.",
          "title": "XML Injection (aka Blind XPath Injection)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2019-17626",
            "https://access.redhat.com/errata/RHSA-2020:0195",
            "https://access.redhat.com/errata/RHSA-2020:0197",
            "https://access.redhat.com/errata/RHSA-2020:0201",
            "https://access.redhat.com/errata/RHSA-2020:0230",
            "https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code",
            "https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md",
            "https://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3",
            "https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html",
            "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/",
            "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/",
            "https://security.gentoo.org/glsa/202007-35",
            "https://usn.ubuntu.com/4273-1/",
            "https://www.debian.org/security/2020/dsa-4663",
            "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html",
            "https://access.redhat.com/security/cve/cve-2019-17626",
            "https://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code",
            "https://github.com/advisories/GHSA-qpg2-vx7j-3869"
          ],
          "uuid": "77c52ba8-c560-4ac0-9ccc-0c956d71f110"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:reportlab:reportlab:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "3.5.26",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2019-17626"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with \u0027\u003cspan color=\"\u0027 followed by arbitrary Python code."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-91"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code"
            },
            {
              "name": "https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md"
            },
            {
              "name": "RHSA-2020:0197",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2020:0197"
            },
            {
              "name": "RHSA-2020:0195",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2020:0195"
            },
            {
              "name": "FEDORA-2020-d2fb999600",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/"
            },
            {
              "name": "RHSA-2020:0201",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2020:0201"
            },
            {
              "name": "RHSA-2020:0230",
              "refsource": "REDHAT",
              "tags": [],
              "url": "https://access.redhat.com/errata/RHSA-2020:0230"
            },
            {
              "name": "FEDORA-2020-f3e0ba2f79",
              "refsource": "FEDORA",
              "tags": [],
              "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/"
            },
            {
              "name": "openSUSE-SU-2020:0160",
              "refsource": "SUSE",
              "tags": [],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html"
            },
            {
              "name": "USN-4273-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "https://usn.ubuntu.com/4273-1/"
            },
            {
              "name": "[debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security update",
              "refsource": "MLIST",
              "tags": [],
              "url": "https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html"
            },
            {
              "name": "DSA-4663",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "https://www.debian.org/security/2020/dsa-4663"
            },
            {
              "name": "GLSA-202007-35",
              "refsource": "GENTOO",
              "tags": [],
              "url": "https://security.gentoo.org/glsa/202007-35"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 7.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "HIGH",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2020-07-27T03:15Z",
      "publishedDate": "2019-10-16T12:15Z"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…