{
  "threat_severity" : "Moderate",
  "public_date" : "2024-08-14T00:00:00Z",
  "bugzilla" : {
    "description" : "webob: WebOb's location header normalization during redirect leads to open redirect",
    "id" : "2305004",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2305004"
  },
  "cvss3" : {
    "cvss3_base_score" : "6.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
    "status" : "verified"
  },
  "cwe" : "CWE-601",
  "details" : [ "WebOb provides objects for HTTP requests and responses. When WebOb normalizes the HTTP Location header to include the request hostname, it does so by parsing the URL that the user is to be redirected to with Python's urlparse, and joining it to the base URL. `urlparse` however treats a `//` at the start of a string as a URI without a scheme, and then treats the next part as the hostname. `urljoin` will then use that hostname from the second part as the hostname replacing the original one from the request. This vulnerability is patched in WebOb version 1.8.8.", "A vulnerability was found in the WebOb package. WebOb normalizes the HTTP Location header using urlparse and urljoin. If the URL starts with //, urlparse treats the following part as the hostname, and replaces the original request's hostname. This issue, combined with user interaction, may become a vulnerability." ],
  "affected_release" : [ {
    "product_name" : "Ironic content for Red Hat OpenShift Container Platform 4.13",
    "release_date" : "2024-10-16T00:00:00Z",
    "advisory" : "RHSA-2024:7941",
    "cpe" : "cpe:/a:redhat:openshift_ironic:4.13::el9",
    "package" : "python-webob-0:1.8.8-2.el9"
  }, {
    "product_name" : "Red Hat Ceph Storage 7.1",
    "release_date" : "2025-05-07T00:00:00Z",
    "advisory" : "RHSA-2025:4664",
    "cpe" : "cpe:/a:redhat:ceph_storage:7.1::el8",
    "package" : "ceph-2:18.2.1-329.el8cp"
  }, {
    "product_name" : "Red Hat Ceph Storage 7.1",
    "release_date" : "2025-05-07T00:00:00Z",
    "advisory" : "RHSA-2025:4664",
    "cpe" : "cpe:/a:redhat:ceph_storage:7.1::el8",
    "package" : "oath-toolkit-0:2.6.12-1.el8cp"
  }, {
    "product_name" : "Red Hat Ceph Storage 8.1",
    "release_date" : "2025-06-26T00:00:00Z",
    "advisory" : "RHSA-2025:9775",
    "cpe" : "cpe:/a:redhat:ceph_storage:8.1::el9",
    "package" : "ceph-2:19.2.1-222.el9cp"
  }, {
    "product_name" : "Red Hat Ceph Storage 8.1",
    "release_date" : "2025-06-26T00:00:00Z",
    "advisory" : "RHSA-2025:9775",
    "cpe" : "cpe:/a:redhat:ceph_storage:8.1::el9",
    "package" : "cephadm-ansible-1:4.1.4-1.el9cp"
  }, {
    "product_name" : "Red Hat Ceph Storage 8.1",
    "release_date" : "2025-06-26T00:00:00Z",
    "advisory" : "RHSA-2025:9775",
    "cpe" : "cpe:/a:redhat:ceph_storage:8.1::el9",
    "package" : "oath-toolkit-0:2.6.12-1.el9cp"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.12",
    "release_date" : "2024-10-09T00:00:00Z",
    "advisory" : "RHSA-2024:7590",
    "cpe" : "cpe:/a:redhat:openshift:4.12::el9",
    "package" : "openshift4/ose-ironic-rhel9:v4.12.0-202410011359.p0.g4d1b61e.assembly.stream.el9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.14",
    "release_date" : "2024-10-03T00:00:00Z",
    "advisory" : "RHSA-2024:7187",
    "cpe" : "cpe:/a:redhat:openshift_ironic:4.14::el9",
    "package" : "python-webob-0:1.8.8-2.el9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.15",
    "release_date" : "2024-10-02T00:00:00Z",
    "advisory" : "RHSA-2024:7182",
    "cpe" : "cpe:/a:redhat:openshift_ironic:4.15::el9",
    "package" : "python-webob-0:1.8.8-2.el9"
  }, {
    "product_name" : "Red Hat OpenShift Container Platform 4.16",
    "release_date" : "2024-09-24T00:00:00Z",
    "advisory" : "RHSA-2024:6827",
    "cpe" : "cpe:/a:redhat:openshift_ironic:4.16::el9",
    "package" : "python-webob-0:1.8.8-2.el9"
  }, {
    "product_name" : "Red Hat OpenStack Platform 17.1 for RHEL 8",
    "release_date" : "2024-11-21T00:00:00Z",
    "advisory" : "RHSA-2024:9989",
    "cpe" : "cpe:/a:redhat:openstack:17.1::el8",
    "package" : "python-webob-0:1.8.7-2.1.el8ost"
  }, {
    "product_name" : "Red Hat OpenStack Platform 17.1 for RHEL 9",
    "release_date" : "2024-11-21T00:00:00Z",
    "advisory" : "RHSA-2024:9983",
    "cpe" : "cpe:/a:redhat:openstack:17.1::el9",
    "package" : "python-webob-0:1.8.7-2.1.el9ost"
  }, {
    "product_name" : "Red Hat OpenStack Services on OpenShift 18.0",
    "release_date" : "2024-09-19T00:00:00Z",
    "advisory" : "RHSA-2024:6775",
    "cpe" : "cpe:/a:redhat:openstack:18.0::el9",
    "package" : "python-webob-0:1.8.7-3.el9ost"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Ceph Storage 4",
    "fix_state" : "Out of support scope",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:ceph_storage:4"
  }, {
    "product_name" : "Red Hat Ceph Storage 5",
    "fix_state" : "Out of support scope",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:ceph_storage:5"
  }, {
    "product_name" : "Red Hat Ceph Storage 6",
    "fix_state" : "Will not fix",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:ceph_storage:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Out of support scope",
    "package_name" : "python-webob",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Enterprise Linux 7",
    "fix_state" : "Out of support scope",
    "package_name" : "python-webob",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7"
  }, {
    "product_name" : "Red Hat Openshift Container Storage 4",
    "fix_state" : "Will not fix",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:openshift_container_storage:4"
  }, {
    "product_name" : "Red Hat OpenStack Platform 16.1",
    "fix_state" : "Out of support scope",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:openstack:16.1"
  }, {
    "product_name" : "Red Hat OpenStack Platform 16.2",
    "fix_state" : "Will not fix",
    "package_name" : "python-webob",
    "cpe" : "cpe:/a:redhat:openstack:16.2"
  }, {
    "product_name" : "Red Hat Quay 3",
    "fix_state" : "Affected",
    "package_name" : "quay/quay-rhel8",
    "cpe" : "cpe:/a:redhat:quay:3"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2024-42353\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-42353\nhttps://github.com/Pylons/webob\nhttps://github.com/Pylons/webob/commit/f689bcf4f0a1f64f1735b1d5069aef5be6974b5b\nhttps://github.com/Pylons/webob/security/advisories/GHSA-mg3v-6m49-jhp3" ],
  "name" : "CVE-2024-42353",
  "mitigation" : {
    "value" : "If the Response class is used, any HTTP Location header (i.e. location) can be rewritten so that it always passes a full URI that includes the hostname to redirect the user to.",
    "lang" : "en:us"
  },
  "csaw" : false
}