GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

GSD-2022-41920

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-41920",
    "id": "GSD-2022-41920"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-41920"
      ],
      "details": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.",
      "id": "GSD-2022-41920",
      "modified": "2023-12-13T01:19:33.145540Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-41920",
        "STATE": "PUBLIC",
        "TITLE": "Zip slip in Lancet"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "lancet",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003c 1.3.4"
                        },
                        {
                          "version_value": "\u003e= 2.0.0, \u003c 2.1.10"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "duke-git"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 6.3,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
            "refsource": "CONFIRM",
            "url": "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4"
          },
          {
            "name": "https://github.com/duke-git/lancet/issues/62",
            "refsource": "MISC",
            "url": "https://github.com/duke-git/lancet/issues/62"
          },
          {
            "name": "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
            "refsource": "MISC",
            "url": "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572"
          },
          {
            "name": "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
            "refsource": "MISC",
            "url": "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-pp3f-xrw5-q5j4",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003cv1.3.4",
          "affected_versions": "All versions before 1.3.4",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2023-02-14",
          "description": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.",
          "fixed_versions": [
            "v1.3.4"
          ],
          "identifier": "CVE-2022-41920",
          "identifiers": [
            "GHSA-pp3f-xrw5-q5j4",
            "CVE-2022-41920"
          ],
          "not_impacted": "All versions starting from 1.3.4",
          "package_slug": "go/github.com/duke-git/lancet",
          "pubdate": "2022-11-21",
          "solution": "Upgrade to version 1.3.4 or above.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41920",
            "https://github.com/duke-git/lancet/issues/62",
            "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
            "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
            "https://pkg.go.dev/vuln/GO-2022-1114",
            "https://github.com/advisories/GHSA-pp3f-xrw5-q5j4"
          ],
          "uuid": "164cae5d-0599-49ef-b6eb-fb3aad03a3e0",
          "versions": [
            {
              "commit": {
                "sha": "279d0754baaf8128460996782015cfccbe6a02eb",
                "tags": [
                  "v1.3.4"
                ],
                "timestamp": "20221117081442"
              },
              "number": "v1.3.4"
            }
          ]
        },
        {
          "affected_range": "\u003cv1.3.4",
          "affected_versions": "All versions before 1.3.4",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2023-02-09",
          "description": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.",
          "fixed_versions": [
            "v1.3.4"
          ],
          "identifier": "CVE-2022-41920",
          "identifiers": [
            "GHSA-pp3f-xrw5-q5j4",
            "CVE-2022-41920"
          ],
          "not_impacted": "All versions starting from 1.3.4",
          "package_slug": "go/github.com/duke-git/lancet/fileutil",
          "pubdate": "2022-11-21",
          "solution": "Upgrade to version 1.3.4 or above.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41920",
            "https://github.com/duke-git/lancet/issues/62",
            "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
            "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
            "https://pkg.go.dev/vuln/GO-2022-1114",
            "https://github.com/advisories/GHSA-pp3f-xrw5-q5j4"
          ],
          "uuid": "f600d5ee-bca5-4b87-a19c-df703ea27411",
          "versions": [
            {
              "commit": {
                "sha": "279d0754baaf8128460996782015cfccbe6a02eb",
                "tags": [
                  "v1.3.4"
                ],
                "timestamp": "20221117081442"
              },
              "number": "v1.3.4"
            }
          ]
        },
        {
          "affected_range": "\u003e=v2.0.0 \u003cv2.1.10",
          "affected_versions": "All versions starting from 2.0.0 before 2.1.10",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2023-02-14",
          "description": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.",
          "fixed_versions": [
            "v2.1.10"
          ],
          "identifier": "CVE-2022-41920",
          "identifiers": [
            "GHSA-pp3f-xrw5-q5j4",
            "CVE-2022-41920"
          ],
          "not_impacted": "All versions before 2.0.0, all versions starting from 2.1.10",
          "package_slug": "go/github.com/duke-git/lancet/v2",
          "pubdate": "2022-11-21",
          "solution": "Upgrade to version 2.1.10 or above.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41920",
            "https://github.com/duke-git/lancet/issues/62",
            "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
            "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
            "https://pkg.go.dev/vuln/GO-2022-1114",
            "https://github.com/advisories/GHSA-pp3f-xrw5-q5j4"
          ],
          "uuid": "87c744f5-e4eb-4460-87d4-ed64ffddaa1a",
          "versions": [
            {
              "commit": {
                "sha": "40b2560752240140c49f89640686e633bb46b86e",
                "tags": [
                  "v2.0.0"
                ],
                "timestamp": "20220317033345"
              },
              "number": "v2.0.0"
            },
            {
              "commit": {
                "sha": "2b17329094b480c65313c038fa36d3fd1b60f878",
                "tags": [
                  "v2.1.10"
                ],
                "timestamp": "20221117081148"
              },
              "number": "v2.1.10"
            }
          ]
        },
        {
          "affected_range": "\u003e=v1.0.0 \u003cv1.3.4 || \u003e=v2.0.0 \u003cv2.1.10",
          "affected_versions": "All versions starting from 1.0.0 before 1.3.4, all versions starting from 2.0.0 before 2.1.10",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2022-11-21",
          "description": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue.",
          "fixed_versions": [
            "v1.3.4",
            "v2.1.10"
          ],
          "identifier": "CVE-2022-41920",
          "identifiers": [
            "GHSA-pp3f-xrw5-q5j4",
            "CVE-2022-41920"
          ],
          "not_impacted": "All versions before 1.0.0, all versions starting from 1.3.4 before 2.0.0, all versions starting from 2.1.10",
          "package_slug": "go/github.com/duke-git/lancet/v2/fileutil",
          "pubdate": "2022-11-21",
          "solution": "Upgrade to versions 1.3.4, 2.1.10 or above.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
            "https://nvd.nist.gov/vuln/detail/CVE-2022-41920",
            "https://github.com/duke-git/lancet/issues/62",
            "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
            "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
            "https://github.com/advisories/GHSA-pp3f-xrw5-q5j4"
          ],
          "uuid": "f0ee953a-b629-4fc7-848a-9fde71206509",
          "versions": [
            {
              "commit": {
                "sha": "3254591ab91fb2234cc2140cf6d58b8623d0892f",
                "tags": [
                  "v1.0.0"
                ],
                "timestamp": "20211128132823"
              },
              "number": "v1.0.0"
            },
            {
              "commit": {
                "sha": "40b2560752240140c49f89640686e633bb46b86e",
                "tags": [
                  "v2.0.0"
                ],
                "timestamp": "20220317033345"
              },
              "number": "v2.0.0"
            },
            {
              "commit": {
                "sha": "2b17329094b480c65313c038fa36d3fd1b60f878",
                "tags": [
                  "v2.1.10"
                ],
                "timestamp": "20221117081148"
              },
              "number": "v2.1.10"
            },
            {
              "commit": {
                "sha": "279d0754baaf8128460996782015cfccbe6a02eb",
                "tags": [
                  "v1.3.4"
                ],
                "timestamp": "20221117081442"
              },
              "number": "v1.3.4"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:*",
                "cpe_name": [],
                "versionEndExcluding": "1.3.4",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:lancet_project:lancet:*:*:*:*:*:go:*:*",
                "cpe_name": [],
                "versionEndExcluding": "2.1.10",
                "versionStartIncluding": "2.0.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2022-41920"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Lancet is a general utility library for the go programming language. Affected versions are subject to a ZipSlip issue when using the fileutil package to unzip files. This issue has been addressed and a fix will be included in versions 2.1.10 and 1.3.4. Users are advised to upgrade. There are no known workarounds for this issue."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/duke-git/lancet/issues/62",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/duke-git/lancet/issues/62"
            },
            {
              "name": "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/duke-git/lancet/commit/f869a0a67098e92d24ddd913e188b32404fa72c9"
            },
            {
              "name": "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/duke-git/lancet/commit/f133b32faa05eb93e66175d01827afa4b7094572"
            },
            {
              "name": "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "https://github.com/duke-git/lancet/security/advisories/GHSA-pp3f-xrw5-q5j4"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 8.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 5.9
        }
      },
      "lastModifiedDate": "2022-11-22T19:09Z",
      "publishedDate": "2022-11-17T18: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…

Detection rules are retrieved from Rulezet.

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…