{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "An update for python-paramiko is now available for Red Hat OpenStack\nPlatform 16.2.4 (Train).\n\nRed Hat Product Security has rated this update as having a security impact\nof Moderate. A Common Vulnerability Scoring System (CVSS) base score, which\ngives a detailed severity rating, is available for each vulnerability from\nthe CVE link(s) in the References section.",
        "title": "Topic"
      },
      {
        "category": "general",
        "text": "Paramiko (a combination of the esperanto words for paranoid and friend) is\na module for python 2.3 or greater that implements the SSH2 protocol for\nsecure (encrypted and authenticated) connections to remote machines. Unlike\nSSL (aka TLS), the SSH2 protocol does not require heirarchical certificates\nsigned by a powerful central authority. You may know SSH2 as the protocol\nthat replaced telnet and rsh for secure access to remote shells, but the\nprotocol also includes the ability to open arbitrary channels to remote\nservices across an encrypted tunnel. (This is how sftp works, for example.)\n\nSecurity Fix(es):\n\n* Race condition in the write_private_key_file function (CVE-2022-24302)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, acknowledgments, and other related information, refer to the CVE\npage 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-2022:8845",
        "url": "https://access.redhat.com/errata/RHSA-2022:8845"
      },
      {
        "category": "external",
        "summary": "https://access.redhat.com/security/updates/classification/#moderate",
        "url": "https://access.redhat.com/security/updates/classification/#moderate"
      },
      {
        "category": "external",
        "summary": "2065665",
        "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2065665"
      },
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_8845.json"
      }
    ],
    "title": "Red Hat Security Advisory: Red Hat OpenStack Platform 16.2.4 (python-paramiko) security update",
    "tracking": {
      "current_release_date": "2025-12-16T03:50:23+00:00",
      "generator": {
        "date": "2025-12-16T03:50:23+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "4.6.13"
        }
      },
      "id": "RHSA-2022:8845",
      "initial_release_date": "2022-12-07T19:19:35+00:00",
      "revision_history": [
        {
          "date": "2022-12-07T19:19:35+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2022-12-07T19:19:35+00:00",
          "number": "2",
          "summary": "Last updated version"
        },
        {
          "date": "2025-12-16T03:50:23+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 16.2",
                "product": {
                  "name": "Red Hat OpenStack Platform 16.2",
                  "product_id": "8Base-RHOS-16.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:16.2::el8"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat OpenStack Platform 16.2",
                "product": {
                  "name": "Red Hat OpenStack Platform 16.2",
                  "product_id": "8Base-RHOS-CINDERLIB-16.2",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openstack:16.2::el8"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenStack Platform"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python-paramiko-0:2.4.2-8.el8ost.src",
                "product": {
                  "name": "python-paramiko-0:2.4.2-8.el8ost.src",
                  "product_id": "python-paramiko-0:2.4.2-8.el8ost.src",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python-paramiko@2.4.2-8.el8ost?arch=src"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "src"
          },
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python3-paramiko-0:2.4.2-8.el8ost.noarch",
                "product": {
                  "name": "python3-paramiko-0:2.4.2-8.el8ost.noarch",
                  "product_id": "python3-paramiko-0:2.4.2-8.el8ost.noarch",
                  "product_identification_helper": {
                    "purl": "pkg:rpm/redhat/python3-paramiko@2.4.2-8.el8ost?arch=noarch"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-paramiko-0:2.4.2-8.el8ost.src as a component of Red Hat OpenStack Platform 16.2",
          "product_id": "8Base-RHOS-16.2:python-paramiko-0:2.4.2-8.el8ost.src"
        },
        "product_reference": "python-paramiko-0:2.4.2-8.el8ost.src",
        "relates_to_product_reference": "8Base-RHOS-16.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-paramiko-0:2.4.2-8.el8ost.noarch as a component of Red Hat OpenStack Platform 16.2",
          "product_id": "8Base-RHOS-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch"
        },
        "product_reference": "python3-paramiko-0:2.4.2-8.el8ost.noarch",
        "relates_to_product_reference": "8Base-RHOS-16.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-paramiko-0:2.4.2-8.el8ost.src as a component of Red Hat OpenStack Platform 16.2",
          "product_id": "8Base-RHOS-CINDERLIB-16.2:python-paramiko-0:2.4.2-8.el8ost.src"
        },
        "product_reference": "python-paramiko-0:2.4.2-8.el8ost.src",
        "relates_to_product_reference": "8Base-RHOS-CINDERLIB-16.2"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python3-paramiko-0:2.4.2-8.el8ost.noarch as a component of Red Hat OpenStack Platform 16.2",
          "product_id": "8Base-RHOS-CINDERLIB-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch"
        },
        "product_reference": "python3-paramiko-0:2.4.2-8.el8ost.noarch",
        "relates_to_product_reference": "8Base-RHOS-CINDERLIB-16.2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2022-24302",
      "cwe": {
        "id": "CWE-362",
        "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')"
      },
      "discovery_date": "2022-03-18T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "2065665"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A race condition was found in Paramiko. This flaw allows unauthorized information disclosure from an attacker with access to the write_private_key_file.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "python-paramiko: Race condition in the write_private_key_file function",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "8Base-RHOS-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
          "8Base-RHOS-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch",
          "8Base-RHOS-CINDERLIB-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
          "8Base-RHOS-CINDERLIB-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2022-24302"
        },
        {
          "category": "external",
          "summary": "RHBZ#2065665",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2065665"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2022-24302",
          "url": "https://www.cve.org/CVERecord?id=CVE-2022-24302"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2022-24302",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-24302"
        },
        {
          "category": "external",
          "summary": "https://github.com/paramiko/paramiko/releases/tag/2.10.1",
          "url": "https://github.com/paramiko/paramiko/releases/tag/2.10.1"
        }
      ],
      "release_date": "2022-03-18T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2022-12-07T19:19:35+00:00",
          "details": "For details on how to apply this update, which includes the changes\ndescribed in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258",
          "product_ids": [
            "8Base-RHOS-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
            "8Base-RHOS-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch",
            "8Base-RHOS-CINDERLIB-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
            "8Base-RHOS-CINDERLIB-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch"
          ],
          "restart_required": {
            "category": "none"
          },
          "url": "https://access.redhat.com/errata/RHSA-2022:8845"
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "NONE",
            "baseScore": 5.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
            "version": "3.1"
          },
          "products": [
            "8Base-RHOS-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
            "8Base-RHOS-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch",
            "8Base-RHOS-CINDERLIB-16.2:python-paramiko-0:2.4.2-8.el8ost.src",
            "8Base-RHOS-CINDERLIB-16.2:python3-paramiko-0:2.4.2-8.el8ost.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate"
        }
      ],
      "title": "python-paramiko: Race condition in the write_private_key_file function"
    }
  ]
}