GSD-2021-21432

Vulnerability from gsd - Updated: 2023-12-13 01:23
Details
Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2021-21432",
    "description": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5.",
    "id": "GSD-2021-21432"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2021-21432"
      ],
      "details": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5.",
      "id": "GSD-2021-21432",
      "modified": "2023-12-13T01:23:11.100264Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2021-21432",
        "STATE": "PUBLIC",
        "TITLE": "Reject unauthorized access with GitHub PATs"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "server",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "\u003e= 0.7.0, \u003c 0.7.5"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "go-vela"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "ADJACENT_NETWORK",
          "availabilityImpact": "LOW",
          "baseScore": 7.5,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "CHANGED",
          "userInteraction": "REQUIRED",
          "vectorString": "CVSS:3.1/AV:A/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L",
          "version": "3.1"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-285 Improper Authorization"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4",
            "refsource": "CONFIRM",
            "url": "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4"
          },
          {
            "name": "https://pkg.go.dev/github.com/go-vela/server",
            "refsource": "MISC",
            "url": "https://pkg.go.dev/github.com/go-vela/server"
          },
          {
            "name": "https://github.com/go-vela/server/releases/tag/v0.7.5",
            "refsource": "MISC",
            "url": "https://github.com/go-vela/server/releases/tag/v0.7.5"
          },
          {
            "name": "https://github.com/go-vela/server/pull/337",
            "refsource": "MISC",
            "url": "https://github.com/go-vela/server/pull/337"
          },
          {
            "name": "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46",
            "refsource": "MISC",
            "url": "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46"
          }
        ]
      },
      "source": {
        "advisory": "GHSA-8j3f-mhq8-gmh4",
        "discovery": "UNKNOWN"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003e=v0.7.0 \u003cv0.7.5",
          "affected_versions": "All versions starting from 0.7.0 before 0.7.5",
          "cvss_v2": "AV:N/AC:M/Au:S/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-863",
            "CWE-937"
          ],
          "date": "2022-04-12",
          "description": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5.",
          "fixed_versions": [
            "v0.7.5"
          ],
          "identifier": "CVE-2021-21432",
          "identifiers": [
            "GHSA-8j3f-mhq8-gmh4",
            "CVE-2021-21432"
          ],
          "not_impacted": "All versions before 0.7.0, all versions starting from 0.7.5",
          "package_slug": "go/github.com/go-vela/server",
          "pubdate": "2022-02-15",
          "solution": "Upgrade to version 0.7.5 or above.",
          "title": "Incorrect Authorization",
          "urls": [
            "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4",
            "https://nvd.nist.gov/vuln/detail/CVE-2021-21432",
            "https://github.com/go-vela/server/pull/337",
            "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46",
            "https://github.com/go-vela/server/releases/tag/v0.7.5",
            "https://pkg.go.dev/github.com/go-vela/server",
            "https://github.com/advisories/GHSA-8j3f-mhq8-gmh4"
          ],
          "uuid": "0318a949-7ab2-4cf9-9411-c135014639ac",
          "versions": [
            {
              "commit": {
                "sha": "65bafd79fb917716323f73873c7521063da467a1",
                "tags": [
                  "v0.7.0"
                ],
                "timestamp": "20210202204836"
              },
              "number": "v0.7.0"
            },
            {
              "commit": {
                "sha": "cb4352918b8ecace9fe969b90404d337b0744d46",
                "tags": [
                  "v0.7.5"
                ],
                "timestamp": "20210408190101"
              },
              "number": "v0.7.5"
            }
          ]
        },
        {
          "affected_range": "\u003e=v0.7.0 \u003cv0.7.5",
          "affected_versions": "All versions starting from 0.7.0 before 0.7.5",
          "cvss_v2": "AV:N/AC:M/Au:S/C:P/I:N/A:N",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
          "cwe_ids": [
            "CWE-1035",
            "CWE-863",
            "CWE-937"
          ],
          "date": "2022-04-12",
          "description": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5.",
          "fixed_versions": [
            "v0.7.5"
          ],
          "identifier": "CVE-2021-21432",
          "identifiers": [
            "GHSA-8j3f-mhq8-gmh4",
            "CVE-2021-21432"
          ],
          "not_impacted": "All versions before 0.7.0, all versions starting from 0.7.5",
          "package_slug": "go/github.com/go-vela/server/api",
          "pubdate": "2022-02-15",
          "solution": "Upgrade to version 0.7.5 or above.",
          "title": "Incorrect Authorization",
          "urls": [
            "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4",
            "https://nvd.nist.gov/vuln/detail/CVE-2021-21432",
            "https://github.com/go-vela/server/pull/337",
            "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46",
            "https://github.com/go-vela/server/releases/tag/v0.7.5",
            "https://pkg.go.dev/github.com/go-vela/server",
            "https://github.com/advisories/GHSA-8j3f-mhq8-gmh4"
          ],
          "uuid": "2e0ee551-ad27-4159-8392-40c4c1b02ba1",
          "versions": [
            {
              "commit": {
                "sha": "65bafd79fb917716323f73873c7521063da467a1",
                "tags": [
                  "v0.7.0"
                ],
                "timestamp": "20210202204836"
              },
              "number": "v0.7.0"
            },
            {
              "commit": {
                "sha": "cb4352918b8ecace9fe969b90404d337b0744d46",
                "tags": [
                  "v0.7.5"
                ],
                "timestamp": "20210408190101"
              },
              "number": "v0.7.5"
            }
          ]
        }
      ]
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:go-vela:vela:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "0.7.5",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "security-advisories@github.com",
          "ID": "CVE-2021-21432"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "Vela is a Pipeline Automation (CI/CD) framework built on Linux container technology written in Golang. An authentication mechanism added in version 0.7.0 enables some malicious user to obtain secrets utilizing the injected credentials within the `~/.netrc` file. Refer to the referenced GitHub Security Advisory for complete details. This is fixed in version 0.7.5."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-862"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://pkg.go.dev/github.com/go-vela/server",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://pkg.go.dev/github.com/go-vela/server"
            },
            {
              "name": "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-vela/server/commit/cb4352918b8ecace9fe969b90404d337b0744d46"
            },
            {
              "name": "https://github.com/go-vela/server/releases/tag/v0.7.5",
              "refsource": "MISC",
              "tags": [
                "Release Notes",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-vela/server/releases/tag/v0.7.5"
            },
            {
              "name": "https://github.com/go-vela/server/pull/337",
              "refsource": "MISC",
              "tags": [
                "Patch",
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-vela/server/pull/337"
            },
            {
              "name": "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "https://github.com/go-vela/server/security/advisories/GHSA-8j3f-mhq8-gmh4"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "SINGLE",
            "availabilityImpact": "NONE",
            "baseScore": 3.5,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:M/Au:S/C:P/I:N/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 6.8,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "LOW",
          "userInteractionRequired": true
        },
        "baseMetricV3": {
          "cvssV3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "exploitabilityScore": 2.8,
          "impactScore": 3.6
        }
      },
      "lastModifiedDate": "2022-08-12T18:02Z",
      "publishedDate": "2021-04-09T18: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…

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…