cve-2022-39272
Vulnerability from cvelistv5
Published
2022-10-21 00:00
Modified
2024-08-03 12:00
Summary
Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration
Impacted products
fluxcdflux2
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T12:00:43.351Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://github.com/kubernetes/apimachinery/issues/131"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "flux2",
          "vendor": "fluxcd",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 0.35.0"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "Flux is an open and extensible continuous delivery solution for Kubernetes. Versions prior to 0.35.0 are subject to a Denial of Service. Users that have permissions to change Flux\u2019s objects, either through a Flux source or directly within a cluster, can provide invalid data to fields `.spec.interval` or `.spec.timeout` (and structured variations of these fields), causing the entire object type to stop being processed. This issue is patched in version 0.35.0. As a workaround, Admission controllers can be employed to restrict the values that can be used for fields `.spec.interval` and `.spec.timeout`, however upgrading to the latest versions is still the recommended mitigation."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L",
            "version": "3.1"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-1284",
              "description": "CWE-1284: Improper Validation of Specified Quantity in Input",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2022-10-21T00:00:00",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "url": "https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v"
        },
        {
          "url": "https://github.com/kubernetes/apimachinery/issues/131"
        }
      ],
      "source": {
        "advisory": "GHSA-f4p5-x4vc-mh4v",
        "discovery": "UNKNOWN"
      },
      "title": "Flux2 vulnerable to Denial of Service due to Improper use of metav1.Duration"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2022-39272",
    "datePublished": "2022-10-21T00:00:00",
    "dateReserved": "2022-09-02T00:00:00",
    "dateUpdated": "2024-08-03T12:00:43.351Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-39272\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2022-10-22T00:15:09.310\",\"lastModified\":\"2023-11-07T03:50:24.103\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"Flux is an open and extensible continuous delivery solution for Kubernetes. Versions prior to 0.35.0 are subject to a Denial of Service. Users that have permissions to change Flux\u2019s objects, either through a Flux source or directly within a cluster, can provide invalid data to fields `.spec.interval` or `.spec.timeout` (and structured variations of these fields), causing the entire object type to stop being processed. This issue is patched in version 0.35.0. As a workaround, Admission controllers can be employed to restrict the values that can be used for fields `.spec.interval` and `.spec.timeout`, however upgrading to the latest versions is still the recommended mitigation.\"},{\"lang\":\"es\",\"value\":\"Flux es una soluci\u00f3n de entrega continua abierta y extensible para Kubernetes. Las versiones anteriores a 0.35.0, est\u00e1n sujetas a una denegaci\u00f3n de servicio. Los usuarios que presentan permisos para cambiar los objetos de Flux, ya sea medainyte una fuente de Flux o directamente dentro de un cl\u00faster, pueden proporcionar datos no v\u00e1lidos a los campos \\\".spec.interval\\\" o \\\".spec.timeout\\\" (y variaciones estructuradas de estos campos), causando que todo el tipo de objeto deje de ser procesado. Este problema ha sido corregido en versi\u00f3n 0.35.0. Como mitigaci\u00f3n, pueden emplearse controladores de admisi\u00f3n para restringir los valores que pueden usarse para los campos \\\".spec.interval\\\" y \\\".spec.timeout\\\", aunque la actualizaci\u00f3n a las \u00faltimas versiones sigue siendo la mitigaci\u00f3n recomendada\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"LOW\",\"baseScore\":4.3,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":2.8,\"impactScore\":1.4},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:L\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"LOW\",\"baseScore\":5.0,\"baseSeverity\":\"MEDIUM\"},\"exploitabilityScore\":3.1,\"impactScore\":1.4}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1284\"}]},{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-1284\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:flux2:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.1.0\",\"versionEndExcluding\":\"0.35.0\",\"matchCriteriaId\":\"3AA15FCA-BF23-4A33-B5A9-CF1505C01DE0\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.0.2\",\"versionEndExcluding\":\"0.24.0\",\"matchCriteriaId\":\"93AE52F3-8925-4E23-A7ED-65CFB92ED9E2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"38162E9C-6889-4D29-82BF-D2C617F88F50\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"F5CE9371-54D5-458E-A946-8477944410F6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"B176EC42-7E4A-4062-8BC8-82193667439B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"929AFCA0-4E79-45FD-89B6-F14805C0CA1E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:beta3:*:*:*:*:*:*\",\"matchCriteriaId\":\"3FC1DC45-EE36-4686-98AF-D3A69F766854\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:helm-controller:0.0.1:beta4:*:*:*:*:*:*\",\"matchCriteriaId\":\"339DB8ED-0634-4D66-9899-475D103F535C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:image-automation-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.1.0\",\"versionEndExcluding\":\"0.26.0\",\"matchCriteriaId\":\"0E4844DA-E907-4B64-A26B-CED5711B13B8\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:image-reflector-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.1.0\",\"versionEndExcluding\":\"0.22.0\",\"matchCriteriaId\":\"19E335B1-AC15-475C-B47C-7F3847340F79\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.0.2\",\"versionEndExcluding\":\"0.29.0\",\"matchCriteriaId\":\"713AC396-2582-410E-9BFE-71E45F532FE1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"63A3589D-D348-4E8B-9DC2-80644036605A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"C9D16141-22FF-4183-8FA0-9B92B9CA62B2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha3:*:*:*:*:*:*\",\"matchCriteriaId\":\"ADA62C3F-F192-41BC-BAD4-3B0F400F3F54\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha4:*:*:*:*:*:*\",\"matchCriteriaId\":\"0B4165A5-17F9-4270-972D-AF1A0581841C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha5:*:*:*:*:*:*\",\"matchCriteriaId\":\"003F008D-3FC8-4D5D-AF86-BC4CFE14F0F4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha6:*:*:*:*:*:*\",\"matchCriteriaId\":\"87BD8959-4DCC-4763-AA61-5FBB645A5981\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha7:*:*:*:*:*:*\",\"matchCriteriaId\":\"CFB65A9C-8ABC-4759-BAC2-316CFA7E19A1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha8:*:*:*:*:*:*\",\"matchCriteriaId\":\"8E6ACF71-8B7B-4D52-B766-2D317F1F6F70\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:alpha9:*:*:*:*:*:*\",\"matchCriteriaId\":\"E3B8151F-102D-403B-BA6A-718913749FB4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"52096A03-1BBD-442A-8D96-2B8A452A8B31\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:kustomize-controller:0.0.1:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"88284DA1-3D54-4430-B1B5-7D05AAF4913D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:notification-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.0.2\",\"versionEndExcluding\":\"0.27.0\",\"matchCriteriaId\":\"B0F26262-DD44-4FE4-9F47-CE40BFD1DCD3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:notification-controller:0.0.1:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"5635F7E7-C86E-49D6-AA18-8DCC25286978\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:notification-controller:0.0.1:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"23DB3103-03EB-4985-B5A3-920BE262AB8D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:notification-controller:0.0.1:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"B4C71093-D3A7-4F47-BEE5-4EED9C19C568\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"0.0.2\",\"versionEndExcluding\":\"0.30.0\",\"matchCriteriaId\":\"62DEB134-7AED-4EF4-AACB-59F0A4F1B778\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"58069EA3-088C-45B0-AFF3-4314C8409CC3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"DF8E4FA5-70F1-4705-B3C4-34E18AB9969F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha3:*:*:*:*:*:*\",\"matchCriteriaId\":\"7E3B1CB6-A1DA-4811-B6AE-C83B2EC7748F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha4:*:*:*:*:*:*\",\"matchCriteriaId\":\"EB5729D8-66B8-46BD-965E-463BAC5572CF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha5:*:*:*:*:*:*\",\"matchCriteriaId\":\"A04F6D7D-EDBB-441C-B622-6E75E55665D5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:alpha6:*:*:*:*:*:*\",\"matchCriteriaId\":\"92C89BA6-2DD4-4A01-B688-007C1FB72E85\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"871AD2C4-932F-4F70-914A-9D53569FF5E2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:fluxcd:source-controller:0.0.1:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"15A4025F-40CC-4605-A0FD-FA2AA0001332\"}]}]}],\"references\":[{\"url\":\"https://github.com/fluxcd/flux2/security/advisories/GHSA-f4p5-x4vc-mh4v\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/kubernetes/apimachinery/issues/131\",\"source\":\"security-advisories@github.com\",\"tags\":[\"Issue Tracking\",\"Patch\",\"Third Party Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • 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.