suse-su-2016:0114-1
Vulnerability from csaf_suse
Published
2016-01-13 20:05
Modified
2016-01-13 20:05
Summary
Security update for python-requests

Notes

Title of the patch
Security update for python-requests
Description of the patch
The python-requests module has been updated to version 2.8.1, which brings several fixes and enhancements: - Fix handling of cookies on redirect. Previously a cookie without a host value set would use the hostname for the redirected URL exposing requests users to session fixation attacks and potentially cookie stealing. (bsc#922448, CVE-2015-2296) - Add support for per-host proxies. This allows the proxies dictionary to have entries of the form {'<scheme>://<hostname>': '<proxy>'}. Host-specific proxies will be used in preference to the previously-supported scheme-specific ones, but the previous syntax will continue to work. - Update certificate bundle to match 'certifi' 2015.9.6.2's weak certificate bundle. - Response.raise_for_status now prints the URL that failed as part of the exception message. - requests.utils.get_netrc_auth now takes an raise_errors kwarg, defaulting to False. When True, errors parsing .netrc files cause exceptions to be thrown. - Change to bundled projects import logic to make it easier to unbundle requests downstream. - Change the default User-Agent string to avoid leaking data on Linux: now contains only the requests version. - The json parameter to post() and friends will now only be used if neither data nor files are present, consistent with the documentation. - Empty fields in the NO_PROXY environment variable are now ignored. - Fix problem where httplib.BadStatusLine would get raised if combining stream=True with contextlib.closing. - Prevent bugs where we would attempt to return the same connection back to the connection pool twice when sending a Chunked body. - Digest Auth support is now thread safe. - Resolved several bugs involving chunked transfer encoding and response framing. - Copy a PreparedRequest's CookieJar more reliably. - Support bytearrays when passed as parameters in the 'files' argument. - Avoid data duplication when creating a request with 'str', 'bytes', or 'bytearray' input to the 'files' argument. - 'Connection: keep-alive' header is now sent automatically. - Support for connect timeouts. Timeout now accepts a tuple (connect, read) which is used to set individual connect and read timeouts. For a comprehensive list of changes please refer to the package's change log or the Release Notes at http://docs.python-requests.org/en/latest/community/updates/#id3
Patchnames
SUSE-SLE-DESKTOP-12-SP1-2016-80,SUSE-SLE-HA-12-2016-80,SUSE-SLE-Module-Public-Cloud-12-2016-80,SUSE-SLE-SERVER-12-2016-80,SUSE-SLE-SERVER-12-SP1-2016-80,SUSE-SLE12-CLOUD-5-2016-80,SUSE-Storage-1.0-2016-80,SUSE-Storage-2-2016-80
Terms of use
CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).



{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "moderate"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for python-requests",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "\nThe python-requests module has been updated to version 2.8.1, which brings several\nfixes and enhancements:\n\n- Fix handling of cookies on redirect. Previously a cookie without a host value set\n  would use the hostname for the redirected URL exposing requests users to session\n  fixation attacks and potentially cookie stealing. (bsc#922448, CVE-2015-2296)\n\n- Add support for per-host proxies. This allows the proxies dictionary to have entries\n  of the form {\u0027\u003cscheme\u003e://\u003chostname\u003e\u0027: \u0027\u003cproxy\u003e\u0027}. Host-specific\n  proxies will be used in preference to the previously-supported scheme-specific ones,\n  but the previous syntax will continue to work.\n- Update certificate bundle to match \u0027certifi\u0027 2015.9.6.2\u0027s weak certificate bundle.\n- Response.raise_for_status now prints the URL that failed as part of the exception message.\n- requests.utils.get_netrc_auth now takes an raise_errors kwarg, defaulting to False.\n  When True, errors parsing .netrc files cause exceptions to be thrown.\n- Change to bundled projects import logic to make it easier to unbundle requests downstream.\n- Change the default User-Agent string to avoid leaking data on Linux: now contains only\n  the requests version.\n- The json parameter to post() and friends will now only be used if neither data nor files\n  are present, consistent with the documentation.\n- Empty fields in the NO_PROXY environment variable are now ignored.\n- Fix problem where httplib.BadStatusLine would get raised if combining stream=True with\n  contextlib.closing.\n- Prevent bugs where we would attempt to return the same connection back to the connection\n  pool twice when sending a Chunked body.\n- Digest Auth support is now thread safe.\n- Resolved several bugs involving chunked transfer encoding and response framing.\n- Copy a PreparedRequest\u0027s CookieJar more reliably.\n- Support bytearrays when passed as parameters in the \u0027files\u0027 argument.\n- Avoid data duplication when creating a request with \u0027str\u0027, \u0027bytes\u0027, or \u0027bytearray\u0027\n  input to the \u0027files\u0027 argument.\n- \u0027Connection: keep-alive\u0027 header is now sent automatically.\n- Support for connect timeouts. Timeout now accepts a tuple (connect, read) which is\n  used to set individual connect and read timeouts.\n\nFor a comprehensive list of changes please refer to the package\u0027s change log or the\nRelease Notes at http://docs.python-requests.org/en/latest/community/updates/#id3\n",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "SUSE-SLE-DESKTOP-12-SP1-2016-80,SUSE-SLE-HA-12-2016-80,SUSE-SLE-Module-Public-Cloud-12-2016-80,SUSE-SLE-SERVER-12-2016-80,SUSE-SLE-SERVER-12-SP1-2016-80,SUSE-SLE12-CLOUD-5-2016-80,SUSE-Storage-1.0-2016-80,SUSE-Storage-2-2016-80",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/suse-su-2016_0114-1.json"
      },
      {
        "category": "self",
        "summary": "URL for SUSE-SU-2016:0114-1",
        "url": "https://www.suse.com/support/update/announcement/2016/suse-su-20160114-1/"
      },
      {
        "category": "self",
        "summary": "E-Mail link for SUSE-SU-2016:0114-1",
        "url": "https://lists.suse.com/pipermail/sle-security-updates/2016-January/001801.html"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 922448",
        "url": "https://bugzilla.suse.com/922448"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 929736",
        "url": "https://bugzilla.suse.com/929736"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 961596",
        "url": "https://bugzilla.suse.com/961596"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2015-2296 page",
        "url": "https://www.suse.com/security/cve/CVE-2015-2296/"
      }
    ],
    "title": "Security update for python-requests",
    "tracking": {
      "current_release_date": "2016-01-13T20:05:42Z",
      "generator": {
        "date": "2016-01-13T20:05:42Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "SUSE-SU-2016:0114-1",
      "initial_release_date": "2016-01-13T20:05:42Z",
      "revision_history": [
        {
          "date": "2016-01-13T20:05:42Z",
          "number": "1",
          "summary": "Current version"
        }
      ],
      "status": "final",
      "version": "1"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "python-requests-2.8.1-6.9.1.noarch",
                "product": {
                  "name": "python-requests-2.8.1-6.9.1.noarch",
                  "product_id": "python-requests-2.8.1-6.9.1.noarch"
                }
              }
            ],
            "category": "architecture",
            "name": "noarch"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Desktop 12 SP1",
                "product": {
                  "name": "SUSE Linux Enterprise Desktop 12 SP1",
                  "product_id": "SUSE Linux Enterprise Desktop 12 SP1",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sled:12:sp1"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise High Availability Extension 12",
                "product": {
                  "name": "SUSE Linux Enterprise High Availability Extension 12",
                  "product_id": "SUSE Linux Enterprise High Availability Extension 12",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-ha:12"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Module for Public Cloud 12",
                "product": {
                  "name": "SUSE Linux Enterprise Module for Public Cloud 12",
                  "product_id": "SUSE Linux Enterprise Module for Public Cloud 12",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sle-module-public-cloud:12"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server 12",
                "product": {
                  "name": "SUSE Linux Enterprise Server 12",
                  "product_id": "SUSE Linux Enterprise Server 12",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles:12"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server for SAP Applications 12",
                "product": {
                  "name": "SUSE Linux Enterprise Server for SAP Applications 12",
                  "product_id": "SUSE Linux Enterprise Server for SAP Applications 12",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles_sap:12"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server 12 SP1",
                "product": {
                  "name": "SUSE Linux Enterprise Server 12 SP1",
                  "product_id": "SUSE Linux Enterprise Server 12 SP1",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles:12:sp1"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Linux Enterprise Server for SAP Applications 12 SP1",
                "product": {
                  "name": "SUSE Linux Enterprise Server for SAP Applications 12 SP1",
                  "product_id": "SUSE Linux Enterprise Server for SAP Applications 12 SP1",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:sles_sap:12:sp1"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5",
                "product": {
                  "name": "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5",
                  "product_id": "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:suse-sle12-cloud-compute:5"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Enterprise Storage 1.0",
                "product": {
                  "name": "SUSE Enterprise Storage 1.0",
                  "product_id": "SUSE Enterprise Storage 1.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:ses:1.0"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "SUSE Enterprise Storage 2",
                "product": {
                  "name": "SUSE Enterprise Storage 2",
                  "product_id": "SUSE Enterprise Storage 2",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:suse:ses:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Desktop 12 SP1",
          "product_id": "SUSE Linux Enterprise Desktop 12 SP1:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Desktop 12 SP1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise High Availability Extension 12",
          "product_id": "SUSE Linux Enterprise High Availability Extension 12:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise High Availability Extension 12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Module for Public Cloud 12",
          "product_id": "SUSE Linux Enterprise Module for Public Cloud 12:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Module for Public Cloud 12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Server 12",
          "product_id": "SUSE Linux Enterprise Server 12:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server 12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Server for SAP Applications 12",
          "product_id": "SUSE Linux Enterprise Server for SAP Applications 12:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server for SAP Applications 12"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Server 12 SP1",
          "product_id": "SUSE Linux Enterprise Server 12 SP1:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server 12 SP1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Linux Enterprise Server for SAP Applications 12 SP1",
          "product_id": "SUSE Linux Enterprise Server for SAP Applications 12 SP1:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Linux Enterprise Server for SAP Applications 12 SP1"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5",
          "product_id": "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Enterprise Storage 1.0",
          "product_id": "SUSE Enterprise Storage 1.0:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Enterprise Storage 1.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "python-requests-2.8.1-6.9.1.noarch as component of SUSE Enterprise Storage 2",
          "product_id": "SUSE Enterprise Storage 2:python-requests-2.8.1-6.9.1.noarch"
        },
        "product_reference": "python-requests-2.8.1-6.9.1.noarch",
        "relates_to_product_reference": "SUSE Enterprise Storage 2"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2015-2296",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2015-2296"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Enterprise Storage 1.0:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Enterprise Storage 2:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Desktop 12 SP1:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise High Availability Extension 12:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Module for Public Cloud 12:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Server 12 SP1:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Server 12:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Server for SAP Applications 12 SP1:python-requests-2.8.1-6.9.1.noarch",
          "SUSE Linux Enterprise Server for SAP Applications 12:python-requests-2.8.1-6.9.1.noarch"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2015-2296",
          "url": "https://www.suse.com/security/cve/CVE-2015-2296"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 922448 for CVE-2015-2296",
          "url": "https://bugzilla.suse.com/922448"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 926396 for CVE-2015-2296",
          "url": "https://bugzilla.suse.com/926396"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "SUSE Cloud Compute Node for SUSE Linux Enterprise 12 5:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Enterprise Storage 1.0:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Enterprise Storage 2:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Desktop 12 SP1:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise High Availability Extension 12:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Module for Public Cloud 12:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Server 12 SP1:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Server 12:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Server for SAP Applications 12 SP1:python-requests-2.8.1-6.9.1.noarch",
            "SUSE Linux Enterprise Server for SAP Applications 12:python-requests-2.8.1-6.9.1.noarch"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2016-01-13T20:05:42Z",
          "details": "low"
        }
      ],
      "title": "CVE-2015-2296"
    }
  ]
}


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.


Loading…