RHSA-2020_0477

Vulnerability from csaf_redhat - Published: 2020-02-12 06:39 - Updated: 2024-11-22 14:26
Summary
Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0.7 servicemesh-proxy security update
Severity
Important
Notes
Topic: Red Hat OpenShift Service Mesh 1.0.7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details: Red Hat OpenShift Service Mesh is Red Hat's distribution of the Istio service mesh project, tailored for installation into an on-premise OpenShift Container Platform installation. This advisory covers the RPM packages for the OpenShift Service Mesh 1.0.7 release. Security Fix(es): * istio: unauthorised access to JWT protected HTTP path (CVE-2020-8595) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use: This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.

An unauthorized access vulnerability was found in Istio in the servicemesh-proxy. An attacker can use this flaw to specify an HTTP path and gain unauthorized access, even if the path is configured to only be accessed with a valid JSON Web Token (JWT).

CWE-285 - Improper Authorization
Vendor Fix The OpenShift Service Mesh release notes provide information on the features and known issues: https://docs.openshift.com/container-platform/4.3/service_mesh/servicemesh-release-notes.html https://access.redhat.com/errata/RHSA-2020:0477
Workaround Depending on the paths used in the exact match clause, it is possible to update the path to a regex. As provided by the Istio Product Committee, the following mitigation can be employed. The original policy specifying a JWT protected path is as follows: --- apiVersion: "authentication.istio.io/v1alpha1" kind: "Policy" metadata: name: "jwt-example" namespace: istio-system spec: targets: - name: istio-ingressgateway origins: - jwt: issuer: "testing@secure.istio.io" jwksUri: "https://raw.githubusercontent.com/istio/istio/release-1.4/security/tools/jwt/samples/jwks.json" trigger_rules: - included_paths: - exact: /productpage The exact path definition can then be updated to a regular expression: --- - jwt: issuer: "testing@secure.istio.io" jwksUri: "https://raw.githubusercontent.com/istio/istio/release-1.4/security/tools/jwt/samples/jwks.json" trigger_rules: - included_paths: - regex: '/productpage(\?.*)?' - regex: '/productpage(#.*)?'
Acknowledgments
The Istio Product Security Committee

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Important"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Red Hat OpenShift Service Mesh 1.0.7.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Red Hat OpenShift Service Mesh is Red Hat\u0027s distribution of the Istio service mesh project, tailored for installation into an on-premise OpenShift Container Platform installation.\n\nThis advisory covers the RPM packages for the OpenShift Service Mesh 1.0.7 release.\n\nSecurity Fix(es):\n\n* istio: unauthorised access to JWT protected HTTP path (CVE-2020-8595)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
        "title": "Details"
      },
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "https://access.redhat.com/errata/RHSA-2020:0477",
        "url": "https://access.redhat.com/errata/RHSA-2020:0477"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#important",
        "url": "https://access.redhat.com/security/updates/classification/#important"
      },
      {
        "category": "external",
        "summary": "1798247",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1798247"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2020/rhsa-2020_0477.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat OpenShift Service Mesh 1.0.7 servicemesh-proxy security update",
    "tracking": {
      "current_release_date": "2024-11-22T14:26:34+00:00",
      "generator": {
        "date": "2024-11-22T14:26:34+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.2.1"
        }
      },
      "id": "RHSA-2020:0477",
      "initial_release_date": "2020-02-12T06:39:25+00:00",
      "revision_history": [
        {
          "date": "2020-02-12T06:39:25+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2020-02-12T06:39:25+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2024-11-22T14:26:34+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "OpenShift Service Mesh 1.0",
                "product": {
                  "name": "OpenShift Service Mesh 1.0",
                  "product_id": "8Base-OSSM-1.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:service_mesh:1.0::el8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Service Mesh"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "servicemesh-proxy-0:1.0.7-1.el8.x86_64",
                "product": {
                  "name": "servicemesh-proxy-0:1.0.7-1.el8.x86_64",
                  "product_id": "servicemesh-proxy-0:1.0.7-1.el8.x86_64",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/servicemesh-proxy@1.0.7-1.el8?arch=x86_64"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "servicemesh-proxy-0:1.0.7-1.el8.src",
                "product": {
                  "name": "servicemesh-proxy-0:1.0.7-1.el8.src",
                  "product_id": "servicemesh-proxy-0:1.0.7-1.el8.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/servicemesh-proxy@1.0.7-1.el8?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-proxy-0:1.0.7-1.el8.src as a component of OpenShift Service Mesh 1.0",
          "product_id": "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.src"
        },
        "product_reference": "servicemesh-proxy-0:1.0.7-1.el8.src",
        "relates_to_product_reference": "8Base-OSSM-1.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "servicemesh-proxy-0:1.0.7-1.el8.x86_64 as a component of OpenShift Service Mesh 1.0",
          "product_id": "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.x86_64"
        },
        "product_reference": "servicemesh-proxy-0:1.0.7-1.el8.x86_64",
        "relates_to_product_reference": "8Base-OSSM-1.0"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "The Istio Product Security Committee"
          ]
        }
      ],
      "cve": "CVE-2020-8595",
      "cwe": {
        "id": "CWE-285",
        "name": "Improper Authorization"
      },
      "discovery_date": "2020-01-31T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1798247"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "An unauthorized access vulnerability was found in Istio in the servicemesh-proxy. An attacker can use this flaw to specify an HTTP path and gain unauthorized access, even if the path is configured to only be accessed with a valid JSON Web Token (JWT).",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "istio: unauthorised access to JWT protected HTTP path",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.src",
          "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.x86_64"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-8595"
        },
        {
          "category": "external",
          "summary": "RHBZ#1798247",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1798247"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-8595",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-8595"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-8595",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-8595"
        },
        {
          "category": "external",
          "summary": "https://istio.io/news/security/istio-security-2020-001/",
          "url": "https://istio.io/news/security/istio-security-2020-001/"
        }
      ],
      "release_date": "2020-02-11T18:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2020-02-12T06:39:25+00:00",
          "details": "The OpenShift Service Mesh release notes provide information on the features and known issues:\n\nhttps://docs.openshift.com/container-platform/4.3/service_mesh/servicemesh-release-notes.html",
          "product_ids": [
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.src",
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.x86_64"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2020:0477"
        },
        {
          "category": "workaround",
          "details": "Depending on the paths used in the exact match clause, it is possible to update the path to a regex. \n\nAs provided by the Istio Product Committee, the following mitigation can be employed.\n\nThe original policy specifying a JWT protected path is as follows:\n---\napiVersion: \"authentication.istio.io/v1alpha1\"\nkind: \"Policy\"\nmetadata:\n  name: \"jwt-example\"\n  namespace: istio-system\nspec:\n  targets:\n  - name: istio-ingressgateway\n  origins:\n  - jwt:\n      issuer: \"testing@secure.istio.io\"\n      jwksUri: \"https://raw.githubusercontent.com/istio/istio/release-1.4/security/tools/jwt/samples/jwks.json\"\n      trigger_rules:\n      - included_paths:\n        - exact: /productpage\n\nThe exact path definition can then be updated to a regular expression:\n---\n  - jwt:\n      issuer: \"testing@secure.istio.io\"\n      jwksUri: \"https://raw.githubusercontent.com/istio/istio/release-1.4/security/tools/jwt/samples/jwks.json\"\n      trigger_rules:\n      - included_paths:\n        - regex: \u0027/productpage(\\?.*)?\u0027\n        - regex: \u0027/productpage(#.*)?\u0027",
          "product_ids": [
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.src",
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "LOW",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
            "version": "3.1"
          },
          "products": [
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.src",
            "8Base-OSSM-1.0:servicemesh-proxy-0:1.0.7-1.el8.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Important"
        }
      ],
      "title": "istio: unauthorised access to JWT protected HTTP path"
    }
  ]
}


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 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…