gsd-2022-25881
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2022-25881",
    "description": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.",
    "id": "GSD-2022-25881",
    "references": [
      "https://www.suse.com/security/cve/CVE-2022-25881.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-25881"
      ],
      "details": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.\r\r",
      "id": "GSD-2022-25881",
      "modified": "2023-12-13T01:19:26.385299Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "report@snyk.io",
        "ID": "CVE-2022-25881",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "http-cache-semantics",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "0",
                          "version_value": "4.1.1"
                        }
                      ]
                    }
                  },
                  {
                    "product_name": "org.webjars.npm:http-cache-semantics",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "0",
                          "version_value": "4.1.1"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "Carter Snook"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.\r\r"
          }
        ]
      },
      "impact": {
        "cvss": [
          {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 5.3,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "cweId": "CWE-1333",
                "lang": "eng",
                "value": "Regular Expression Denial of Service (ReDoS)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783",
            "refsource": "MISC",
            "url": "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783"
          },
          {
            "name": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332",
            "refsource": "MISC",
            "url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332"
          },
          {
            "name": "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83",
            "refsource": "MISC",
            "url": "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83"
          },
          {
            "name": "https://security.netapp.com/advisory/ntap-20230622-0008/",
            "refsource": "MISC",
            "url": "https://security.netapp.com/advisory/ntap-20230622-0008/"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "(,4.1.1)",
          "affected_versions": "All versions before 4.1.1",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-02-01",
          "description": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.",
          "fixed_versions": [
            "4.1.1"
          ],
          "identifier": "CVE-2022-25881",
          "identifiers": [
            "GHSA-rc47-6667-2j5j",
            "CVE-2022-25881"
          ],
          "not_impacted": "All versions starting from 4.1.1",
          "package_slug": "maven/org.webjars.npm/http-cache-semantics",
          "pubdate": "2023-01-31",
          "solution": "Upgrade to version 4.1.1 or above.",
          "title": "http-cache-semantics vulnerable to Regular Expression Denial of Service",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-25881",
            "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83",
            "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332",
            "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783",
            "https://github.com/advisories/GHSA-rc47-6667-2j5j"
          ],
          "uuid": "bae5ad8a-b2af-4a81-b828-5f7a2e8332cb"
        },
        {
          "affected_range": "\u003c4.1.1",
          "affected_versions": "All versions before 4.1.1",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-1333",
            "CWE-937"
          ],
          "date": "2023-06-22",
          "description": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.",
          "fixed_versions": [
            "4.1.1"
          ],
          "identifier": "CVE-2022-25881",
          "identifiers": [
            "CVE-2022-25881",
            "GHSA-rc47-6667-2j5j"
          ],
          "not_impacted": "All versions starting from 4.1.1",
          "package_slug": "npm/http-cache-semantics",
          "pubdate": "2023-01-31",
          "solution": "Upgrade to version 4.1.1 or above.",
          "title": "http-cache-semantics vulnerable to Regular Expression Denial of Service",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-25881",
            "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83",
            "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332",
            "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783",
            "https://github.com/advisories/GHSA-rc47-6667-2j5j"
          ],
          "uuid": "b7944c76-b30b-4434-8016-0bd7bb846a9b"
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:http-cache-semantics_project:http-cache-semantics:*:*:*:*:*:node.js:*:*",
                "cpe_name": [],
                "versionEndExcluding": "4.1.1",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "report@snyk.io",
          "ID": "CVE-2022-25881"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "This affects versions of the package http-cache-semantics before 4.1.1. The issue can be exploited via malicious request header values sent to a server, when that server reads the cache policy from the request using this library.\r\r"
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-1333"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://security.snyk.io/vuln/SNYK-JS-HTTPCACHESEMANTICS-3248783"
            },
            {
              "name": "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83",
              "refsource": "MISC",
              "tags": [
                "Broken Link"
              ],
              "url": "https://github.com/kornelski/http-cache-semantics/blob/master/index.js%23L83"
            },
            {
              "name": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3253332"
            },
            {
              "name": "https://security.netapp.com/advisory/ntap-20230622-0008/",
              "refsource": "MISC",
              "tags": [],
              "url": "https://security.netapp.com/advisory/ntap-20230622-0008/"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-06-22T15:15Z",
      "publishedDate": "2023-01-31T05:15Z"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.