GSD-2022-26652

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-26652",
    "description": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.",
    "id": "GSD-2022-26652"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-26652"
      ],
      "details": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.",
      "id": "GSD-2022-26652",
      "modified": "2023-12-13T01:19:38.948937Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2022-26652",
        "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": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/nats-io/nats-server/releases",
            "refsource": "MISC",
            "url": "https://github.com/nats-io/nats-server/releases"
          },
          {
            "name": "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68",
            "refsource": "CONFIRM",
            "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68"
          },
          {
            "name": "https://advisories.nats.io/CVE/CVE-2022-26652.txt",
            "refsource": "CONFIRM",
            "url": "https://advisories.nats.io/CVE/CVE-2022-26652.txt"
          },
          {
            "name": "[oss-security] 20220309 CVE-2022-26652: nats-server arbitrary file write",
            "refsource": "MLIST",
            "url": "http://www.openwall.com/lists/oss-security/2022/03/10/1"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v2.2.0 \u003cv2.7.4",
          "affected_versions": "All versions starting from 2.2.0 before 2.7.4",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-03-11",
          "description": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.",
          "fixed_versions": [
            "v2.7.4"
          ],
          "identifier": "CVE-2022-26652",
          "identifiers": [
            "GHSA-6h3m-36w8-hv68",
            "CVE-2022-26652"
          ],
          "not_impacted": "All versions before 2.2.0, all versions starting from 2.7.4",
          "package_slug": "go/github.com/nats-io/nats-server/v2",
          "pubdate": "2022-03-10",
          "solution": "Upgrade to version 2.7.4 or above.",
          "title": "Arbitrary file write in nats-server",
          "urls": [
            "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68",
            "https://github.com/nats-io/nats-server/pull/2917",
            "https://github.com/nats-io/nats-server/releases/tag/v2.7.4",
            "https://github.com/nats-io/nats-streaming-server/releases/tag/v0.24.3",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-26652",
            "https://advisories.nats.io/CVE/CVE-2022-26652.txt",
            "https://github.com/nats-io/nats-server/releases",
            "http://www.openwall.com/lists/oss-security/2022/03/10/1",
            "https://github.com/advisories/GHSA-6h3m-36w8-hv68"
          ],
          "uuid": "3594d263-42c7-46bc-bbce-03fd21a8a707",
          "versions": [
            {
              "commit": {
                "sha": "9931302e29d5b9abe7d3f05f7c170a66c299f59d",
                "tags": [
                  "v2.2.0"
                ],
                "timestamp": "20210315022129"
              },
              "number": "v2.2.0"
            },
            {
              "commit": {
                "sha": "f1c2481a4dd05d4701e1f7b5478f8271f34de85a",
                "tags": [
                  "v2.7.4"
                ],
                "timestamp": "20220309210053"
              },
              "number": "v2.7.4"
            }
          ]
        },
        {
          "affected_range": "\u003e=v0.15.0 \u003cv0.24.3",
          "affected_versions": "All versions starting from 0.15.0 before 0.24.3",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-03-11",
          "description": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected.",
          "fixed_versions": [
            "v0.24.3"
          ],
          "identifier": "CVE-2022-26652",
          "identifiers": [
            "GHSA-6h3m-36w8-hv68",
            "CVE-2022-26652"
          ],
          "not_impacted": "All versions before 0.15.0, all versions starting from 0.24.3",
          "package_slug": "go/github.com/nats-io/nats-streaming-server",
          "pubdate": "2022-03-10",
          "solution": "Upgrade to version 0.24.3 or above.",
          "title": "Arbitrary file write in nats-server",
          "urls": [
            "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68",
            "https://github.com/nats-io/nats-server/pull/2917",
            "https://github.com/nats-io/nats-server/releases/tag/v2.7.4",
            "https://github.com/nats-io/nats-streaming-server/releases/tag/v0.24.3",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-26652",
            "https://advisories.nats.io/CVE/CVE-2022-26652.txt",
            "https://github.com/nats-io/nats-server/releases",
            "http://www.openwall.com/lists/oss-security/2022/03/10/1",
            "https://github.com/advisories/GHSA-6h3m-36w8-hv68"
          ],
          "uuid": "e20f8a7b-b918-44c4-913e-1ef66ccedc39",
          "versions": [
            {
              "commit": {
                "sha": "85d636cce8a9013827cfbff5b7ec00bb23096aa8",
                "tags": [
                  "v0.15.0"
                ],
                "timestamp": "20190604191743"
              },
              "number": "v0.15.0"
            },
            {
              "commit": {
                "sha": "834250d59e1b7a4802fe77b67ff7a9d543c1760a",
                "tags": [
                  "v0.24.3"
                ],
                "timestamp": "20220309214251"
              },
              "number": "v0.24.3"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:nats:nats_server:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.7.4",
                "versionStartIncluding": "2.2.0",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:nats:nats_streaming_server:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.24.3",
                "versionStartIncluding": "0.15.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2022-26652"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "NATS nats-server before 2.7.4 allows Directory Traversal (with write access) via an element in a ZIP archive for JetStream streams. nats-streaming-server before 0.24.3 is also affected."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/nats-io/nats-server/security/advisories/GHSA-6h3m-36w8-hv68"
            },
            {
              "name": "https://github.com/nats-io/nats-server/releases",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/nats-io/nats-server/releases"
            },
            {
              "name": "https://advisories.nats.io/CVE/CVE-2022-26652.txt",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "https://advisories.nats.io/CVE/CVE-2022-26652.txt"
            },
            {
              "name": "[oss-security] 20220309 CVE-2022-26652: nats-server arbitrary file write",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2022/03/10/1"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 4.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:S/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 8.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2022-03-18T01:44Z",
      "publishedDate": "2022-03-10T17:47Z"
    }
  }
}



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…