GSD-2020-36559

Vulnerability from gsd - Updated: 2023-12-13 01:21
Details
Due to improper sanitization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2020-36559",
    "id": "GSD-2020-36559"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2020-36559"
      ],
      "details": "Due to improper sanitization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.",
      "id": "GSD-2020-36559",
      "modified": "2023-12-13T01:21:56.060179Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@golang.org",
        "ID": "CVE-2020-36559",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "aahframe.work",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_name": "0",
                          "version_value": "0.12.4"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "aahframe.work"
            }
          ]
        }
      },
      "credits": [
        {
          "lang": "en",
          "value": "@snyff"
        }
      ],
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Due to improper sanitization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE 23: Relative Path Traversal"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/go-aah/aah/pull/267",
            "refsource": "MISC",
            "url": "https://github.com/go-aah/aah/pull/267"
          },
          {
            "name": "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec",
            "refsource": "MISC",
            "url": "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec"
          },
          {
            "name": "https://github.com/go-aah/aah/issues/266",
            "refsource": "MISC",
            "url": "https://github.com/go-aah/aah/issues/266"
          },
          {
            "name": "https://pkg.go.dev/vuln/GO-2020-0033",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/vuln/GO-2020-0033"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c0.12.4",
          "affected_versions": "All versions before 0.12.4",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-22",
            "CWE-937"
          ],
          "date": "2023-02-07",
          "description": "Due to improper santization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.",
          "fixed_versions": [
            "0.12.4"
          ],
          "identifier": "CVE-2020-36559",
          "identifiers": [
            "GHSA-vp56-r7qv-783v",
            "CVE-2020-36559"
          ],
          "not_impacted": "All versions starting from 0.12.4",
          "package_slug": "go/aahframe.work",
          "pubdate": "2022-12-28",
          "solution": "Upgrade to version 0.12.4 or above.",
          "title": "Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-36559",
            "https://github.com/go-aah/aah/issues/266",
            "https://github.com/go-aah/aah/pull/267",
            "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec",
            "https://pkg.go.dev/vuln/GO-2020-0033",
            "https://github.com/advisories/GHSA-vp56-r7qv-783v"
          ],
          "uuid": "010c131a-aa39-4048-bd19-5c1832985361"
        },
        {
          "affected_range": "\u003cv0.12.4",
          "affected_versions": "All versions before 0.12.4",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2022-12-30",
          "description": "Due to improper santization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read.",
          "fixed_versions": [
            "v0.12.4"
          ],
          "identifier": "CVE-2020-36559",
          "identifiers": [
            "GHSA-vp56-r7qv-783v",
            "CVE-2020-36559"
          ],
          "not_impacted": "All versions starting from 0.12.4",
          "package_slug": "go/github.com/go-aah/aah",
          "pubdate": "2022-12-28",
          "solution": "Upgrade to version 0.12.4 or above.",
          "title": "ahh vulnerable to Path Traversal",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2020-36559",
            "https://github.com/go-aah/aah/issues/266",
            "https://github.com/go-aah/aah/pull/267",
            "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec",
            "https://pkg.go.dev/vuln/GO-2020-0033",
            "https://github.com/advisories/GHSA-vp56-r7qv-783v"
          ],
          "uuid": "c47f5f59-bbb3-4825-939f-df00ffa92fa8",
          "versions": [
            {
              "commit": {
                "sha": "881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec",
                "tags": [
                  "v0.12.4"
                ],
                "timestamp": "20200303092703"
              },
              "number": "v0.12.4"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:aahframework:aah:*:*:*:*:*:go:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.12.4",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security@golang.org",
          "ID": "CVE-2020-36559"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Due to improper sanitization of user input, HTTPEngine.Handle allows for directory traversal, allowing an attacker to read files outside of the target directory that the server has permission to read."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-22"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://github.com/go-aah/aah/pull/267",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-aah/aah/pull/267"
            },
            {
              "name": "https://github.com/go-aah/aah/issues/266",
              "refsource": "MISC",
              "tags": [
                "Issue Tracking",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-aah/aah/issues/266"
            },
            {
              "name": "https://pkg.go.dev/vuln/GO-2020-0033",
              "refsource": "MISC",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://pkg.go.dev/vuln/GO-2020-0033"
            },
            {
              "name": "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-aah/aah/commit/881dc9f71d1f7a4e8a9a39df9c5c081d3a2da1ec"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.5,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 3.9,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2023-06-08T21:15Z",
      "publishedDate": "2022-12-27T22: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…