{
  "schema_version": "1.4.0",
  "id": "GHSA-qpxp-5j56-gg3x",
  "modified": "2023-08-08T16:12:35Z",
  "published": "2019-07-31T04:22:03Z",
  "aliases": [
    "CVE-2018-20857"
  ],
  "summary": "samlr XML nodes comment attack",
  "details": "Zendesk Samlr before 2.6.2 allows an XML nodes comment attack such as a name_id node with user@example.com followed by `<!---->`. and then the attacker's domain name.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "samlr"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.6.2"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20857"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zendesk/samlr/pull/29"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/samlr/CVE-2018-20857.yml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/zendesk/samlr"
    },
    {
      "type": "WEB",
      "url": "https://github.com/zendesk/samlr/compare/v2.6.1...v2.6.2"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2019-07-31T03:49:20Z",
    "nvd_published_at": "2019-07-26T12:15:00Z"
  }
}