RHSA-2019_1352
Vulnerability from csaf_redhat - Published: 2019-06-04 19:10 - Updated: 2024-11-22 13:16Summary
Red Hat Security Advisory: etcd security, bug fix, and enhancement update
Severity
Moderate
Notes
Topic: An update for etcd is now available for Red Hat Enterprise Linux 7 Extras.
Red Hat Product Security has rated this update as having a security impact of Moderate. 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: The etcd packages provide a highly available key-value store for shared configuration.
The following packages have been upgraded to a later upstream version: etcd (3.2.26). (BZ#1676902)
Security Fix(es):
* etcd: Improper Authentication in auth/store.go:AuthInfoFromTLS() via gRPC-gateway (CVE-2018-16886)
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.
Etcd, versions 3.2.0 through 3.2.25 and 3.3.0 through 3.3.10, are vulnerable to an improper authentication issue when role-based access control (RBAC) is used and client-cert-auth is enabled. If an etcd client server's TLS certificate contains a Common Name (CN) which matches a valid RBAC username, a remote attacker may authenticate as that user with any valid (trusted) client certificate in a REST API request to the gRPC-gateway.
6.8 (Medium)
Vendor Fix
For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2019:1352
Workaround
Ensure that the client server TLS certificate (specified in --cert-file argument or ETCD_CERT_FILE environment variable) does not include a CN (Common Name) field. If a Common Name field is part of this certificate, replace it with one which omits it.
To check the CN field of a certificate:
openssl x509 -noout -subject -in /path/to/client.crt | grep -o 'CN.*'
To check if there is a username matching the CN field in the TLS client certificate:
etcdctl user get <TLS client certificate CN>
For more information on TLS authentication features including how client-cert-auth is enabled, refer to the etcd transport security model documentation: https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/security.md
For more information on Role-based access control including how it is enabled, refer to the etcd role-based access control documentation: https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/authentication.md
References
Acknowledgments
Osirium
Matt Wheeler
{
"document": {
"aggregate_severity": {
"namespace": "https://access.redhat.com/security/updates/classification/",
"text": "Moderate"
},
"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": "An update for etcd is now available for Red Hat Enterprise Linux 7 Extras.\n\nRed Hat Product Security has rated this update as having a security impact of Moderate. 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": "The etcd packages provide a highly available key-value store for shared configuration.\n\nThe following packages have been upgraded to a later upstream version: etcd (3.2.26). (BZ#1676902)\n\nSecurity Fix(es):\n\n* etcd: Improper Authentication in auth/store.go:AuthInfoFromTLS() via gRPC-gateway (CVE-2018-16886)\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-2019:1352",
"url": "https://access.redhat.com/errata/RHSA-2019:1352"
},
{
"category": "external",
"summary": "https://access.redhat.com/security/updates/classification/#moderate",
"url": "https://access.redhat.com/security/updates/classification/#moderate"
},
{
"category": "external",
"summary": "1651034",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1651034"
},
{
"category": "external",
"summary": "1676902",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1676902"
},
{
"category": "self",
"summary": "Canonical URL",
"url": "https://security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1352.json"
}
],
"title": "Red Hat Security Advisory: etcd security, bug fix, and enhancement update",
"tracking": {
"current_release_date": "2024-11-22T13:16:05+00:00",
"generator": {
"date": "2024-11-22T13:16:05+00:00",
"engine": {
"name": "Red Hat SDEngine",
"version": "4.2.1"
}
},
"id": "RHSA-2019:1352",
"initial_release_date": "2019-06-04T19:10:33+00:00",
"revision_history": [
{
"date": "2019-06-04T19:10:33+00:00",
"number": "1",
"summary": "Initial version"
},
{
"date": "2019-06-04T19:10:33+00:00",
"number": "2",
"summary": "Last updated version"
},
{
"date": "2024-11-22T13:16:05+00:00",
"number": "3",
"summary": "Last generated version"
}
],
"status": "final",
"version": "3"
}
},
"product_tree": {
"branches": [
{
"branches": [
{
"branches": [
{
"category": "product_name",
"name": "Red Hat Enterprise Linux 7 Extras",
"product": {
"name": "Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6",
"product_identification_helper": {
"cpe": "cpe:/a:redhat:rhel_extras_other:7"
}
}
}
],
"category": "product_family",
"name": "Red Hat Enterprise Linux Extras"
},
{
"branches": [
{
"category": "product_version",
"name": "etcd-0:3.2.26-1.el7.aarch64",
"product": {
"name": "etcd-0:3.2.26-1.el7.aarch64",
"product_id": "etcd-0:3.2.26-1.el7.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd@3.2.26-1.el7?arch=aarch64"
}
}
},
{
"category": "product_version",
"name": "etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"product": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"product_id": "etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd-debuginfo@3.2.26-1.el7?arch=aarch64"
}
}
}
],
"category": "architecture",
"name": "aarch64"
},
{
"branches": [
{
"category": "product_version",
"name": "etcd-0:3.2.26-1.el7.x86_64",
"product": {
"name": "etcd-0:3.2.26-1.el7.x86_64",
"product_id": "etcd-0:3.2.26-1.el7.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd@3.2.26-1.el7?arch=x86_64"
}
}
},
{
"category": "product_version",
"name": "etcd-debuginfo-0:3.2.26-1.el7.x86_64",
"product": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.x86_64",
"product_id": "etcd-debuginfo-0:3.2.26-1.el7.x86_64",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd-debuginfo@3.2.26-1.el7?arch=x86_64"
}
}
}
],
"category": "architecture",
"name": "x86_64"
},
{
"branches": [
{
"category": "product_version",
"name": "etcd-0:3.2.26-1.el7.s390x",
"product": {
"name": "etcd-0:3.2.26-1.el7.s390x",
"product_id": "etcd-0:3.2.26-1.el7.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd@3.2.26-1.el7?arch=s390x"
}
}
},
{
"category": "product_version",
"name": "etcd-debuginfo-0:3.2.26-1.el7.s390x",
"product": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.s390x",
"product_id": "etcd-debuginfo-0:3.2.26-1.el7.s390x",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd-debuginfo@3.2.26-1.el7?arch=s390x"
}
}
}
],
"category": "architecture",
"name": "s390x"
},
{
"branches": [
{
"category": "product_version",
"name": "etcd-0:3.2.26-1.el7.src",
"product": {
"name": "etcd-0:3.2.26-1.el7.src",
"product_id": "etcd-0:3.2.26-1.el7.src",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd@3.2.26-1.el7?arch=src"
}
}
}
],
"category": "architecture",
"name": "src"
},
{
"branches": [
{
"category": "product_version",
"name": "etcd-0:3.2.26-1.el7.ppc64le",
"product": {
"name": "etcd-0:3.2.26-1.el7.ppc64le",
"product_id": "etcd-0:3.2.26-1.el7.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd@3.2.26-1.el7?arch=ppc64le"
}
}
},
{
"category": "product_version",
"name": "etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"product": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"product_id": "etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"product_identification_helper": {
"purl": "pkg:rpm/redhat/etcd-debuginfo@3.2.26-1.el7?arch=ppc64le"
}
}
}
],
"category": "architecture",
"name": "ppc64le"
}
],
"category": "vendor",
"name": "Red Hat"
}
],
"relationships": [
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-0:3.2.26-1.el7.aarch64 as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.aarch64"
},
"product_reference": "etcd-0:3.2.26-1.el7.aarch64",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-0:3.2.26-1.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.ppc64le"
},
"product_reference": "etcd-0:3.2.26-1.el7.ppc64le",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-0:3.2.26-1.el7.s390x as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.s390x"
},
"product_reference": "etcd-0:3.2.26-1.el7.s390x",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-0:3.2.26-1.el7.src as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.src"
},
"product_reference": "etcd-0:3.2.26-1.el7.src",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-0:3.2.26-1.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.x86_64"
},
"product_reference": "etcd-0:3.2.26-1.el7.x86_64",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.aarch64 as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.aarch64"
},
"product_reference": "etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.ppc64le as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.ppc64le"
},
"product_reference": "etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.s390x as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.s390x"
},
"product_reference": "etcd-debuginfo-0:3.2.26-1.el7.s390x",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
},
{
"category": "default_component_of",
"full_product_name": {
"name": "etcd-debuginfo-0:3.2.26-1.el7.x86_64 as a component of Red Hat Enterprise Linux 7 Extras",
"product_id": "7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.x86_64"
},
"product_reference": "etcd-debuginfo-0:3.2.26-1.el7.x86_64",
"relates_to_product_reference": "7Server-EXTRAS-7.6"
}
]
},
"vulnerabilities": [
{
"acknowledgments": [
{
"names": [
"Matt Wheeler"
],
"organization": "Osirium"
}
],
"cve": "CVE-2018-16886",
"cwe": {
"id": "CWE-287",
"name": "Improper Authentication"
},
"discovery_date": "2018-11-16T00:00:00+00:00",
"ids": [
{
"system_name": "Red Hat Bugzilla ID",
"text": "1651034"
}
],
"notes": [
{
"category": "description",
"text": "Etcd, versions 3.2.0 through 3.2.25 and 3.3.0 through 3.3.10, are vulnerable to an improper authentication issue when role-based access control (RBAC) is used and client-cert-auth is enabled. If an etcd client server\u0027s TLS certificate contains a Common Name (CN) which matches a valid RBAC username, a remote attacker may authenticate as that user with any valid (trusted) client certificate in a REST API request to the gRPC-gateway.",
"title": "Vulnerability description"
},
{
"category": "summary",
"text": "etcd: Improper Authentication in auth/store.go:AuthInfoFromTLS() via gRPC-gateway",
"title": "Vulnerability summary"
},
{
"category": "other",
"text": "OpenShift Container Platform 3.x, and 4.1 versions do not use etcd Role-based access control so they are not affected.",
"title": "Statement"
},
{
"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": [
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.src",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.x86_64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.x86_64"
]
},
"references": [
{
"category": "self",
"summary": "Canonical URL",
"url": "https://access.redhat.com/security/cve/CVE-2018-16886"
},
{
"category": "external",
"summary": "RHBZ#1651034",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=1651034"
},
{
"category": "external",
"summary": "https://www.cve.org/CVERecord?id=CVE-2018-16886",
"url": "https://www.cve.org/CVERecord?id=CVE-2018-16886"
},
{
"category": "external",
"summary": "https://nvd.nist.gov/vuln/detail/CVE-2018-16886",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16886"
}
],
"release_date": "2019-01-11T22:05:00+00:00",
"remediations": [
{
"category": "vendor_fix",
"date": "2019-06-04T19:10:33+00:00",
"details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
"product_ids": [
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.src",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.x86_64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.x86_64"
],
"restart_required": {
"category": "none"
},
"url": "https://access.redhat.com/errata/RHSA-2019:1352"
},
{
"category": "workaround",
"details": "Ensure that the client server TLS certificate (specified in --cert-file argument or ETCD_CERT_FILE environment variable) does not include a CN (Common Name) field. If a Common Name field is part of this certificate, replace it with one which omits it.\n\nTo check the CN field of a certificate:\n openssl x509 -noout -subject -in /path/to/client.crt | grep -o \u0027CN.*\u0027\n\nTo check if there is a username matching the CN field in the TLS client certificate:\n etcdctl user get \u003cTLS client certificate CN\u003e\n\nFor more information on TLS authentication features including how client-cert-auth is enabled, refer to the etcd transport security model documentation: https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/security.md\nFor more information on Role-based access control including how it is enabled, refer to the etcd role-based access control documentation: https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/authentication.md",
"product_ids": [
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.src",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.x86_64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.x86_64"
]
}
],
"scores": [
{
"cvss_v3": {
"attackComplexity": "HIGH",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.8,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N",
"version": "3.0"
},
"products": [
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.src",
"7Server-EXTRAS-7.6:etcd-0:3.2.26-1.el7.x86_64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.aarch64",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.ppc64le",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.s390x",
"7Server-EXTRAS-7.6:etcd-debuginfo-0:3.2.26-1.el7.x86_64"
]
}
],
"threats": [
{
"category": "impact",
"details": "Moderate"
}
],
"title": "etcd: Improper Authentication in auth/store.go:AuthInfoFromTLS() via gRPC-gateway"
}
]
}
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…
Loading…