Upstream information

CVE-2017-11424 at MITRE

Description

In PyJWT 1.5.0 and below the `invalid_strings` check in `HMACAlgorithm.prepare_key` does not account for all PEM encoded public keys. Specifically, the PKCS1 PEM encoded format would be allowed because it is prefaced with the string `-----BEGIN RSA PUBLIC KEY-----` which is not accounted for. This enables symmetric/asymmetric key confusion attacks against users using the PKCS1 PEM encoded public keys, which would allow an attacker to craft JWTs from scratch.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database
Base Score 7.5
Vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Access Vector Network
Access Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact High
Availability Impact None
CVSSv3 Version 3
SUSE Bugzilla entry: 1054106 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Leap 42.3
  • python3-PyJWT >= 1.4.2-3.1
Patchnames:
openSUSE-2017-1178


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
Magnum Orchestration python-PyJWT Released
SUSE Container as a Service Platform 1.0 python-PyJWT Released
SUSE Container as a Service Platform 2.0 python-PyJWT Released
SUSE Linux Enterprise 12 Module for Public Cloud python-PyJWT Released
SUSE Linux Enterprise Server 11 SP1 python27 Released
SUSE Linux Enterprise Server 11 SP1 python27-base Released
SUSE Linux Enterprise Server 11 SP1 python27-doc Released
SUSE Linux Enterprise Server 11 SP1 python27-setuptools Released
SUSE Linux Enterprise Server 11 SP3 cloud-init Released
SUSE Linux Enterprise Server 11 SP3 growpart Released
SUSE Linux Enterprise Server 11 SP3 python27 Released
SUSE Linux Enterprise Server 11 SP3 python27-Cheetah Released
SUSE Linux Enterprise Server 11 SP3 python27-Jinja2 Released
SUSE Linux Enterprise Server 11 SP3 python27-MarkupSafe Released
SUSE Linux Enterprise Server 11 SP3 python27-PrettyTable Released
SUSE Linux Enterprise Server 11 SP3 python27-PyJWT Released
SUSE Linux Enterprise Server 11 SP3 python27-PyYAML Released
SUSE Linux Enterprise Server 11 SP3 python27-argparse Released
SUSE Linux Enterprise Server 11 SP3 python27-base Released
SUSE Linux Enterprise Server 11 SP3 python27-blinker Released
SUSE Linux Enterprise Server 11 SP3 python27-boto3 Released
SUSE Linux Enterprise Server 11 SP3 python27-botocore Released
SUSE Linux Enterprise Server 11 SP3 python27-cffi Released
SUSE Linux Enterprise Server 11 SP3 python27-configobj Released
SUSE Linux Enterprise Server 11 SP3 python27-cryptography Released
SUSE Linux Enterprise Server 11 SP3 python27-dateutil Released
SUSE Linux Enterprise Server 11 SP3 python27-doc Released
SUSE Linux Enterprise Server 11 SP3 python27-docutils Released
SUSE Linux Enterprise Server 11 SP3 python27-ecdsa Released
SUSE Linux Enterprise Server 11 SP3 python27-enum34 Released
SUSE Linux Enterprise Server 11 SP3 python27-futures Released
SUSE Linux Enterprise Server 11 SP3 python27-httplib2 Released
SUSE Linux Enterprise Server 11 SP3 python27-idna Released
SUSE Linux Enterprise Server 11 SP3 python27-ipaddress Released
SUSE Linux Enterprise Server 11 SP3 python27-jmespath Released
SUSE Linux Enterprise Server 11 SP3 python27-jsonpatch Released
SUSE Linux Enterprise Server 11 SP3 python27-jsonpointer Released
SUSE Linux Enterprise Server 11 SP3 python27-jsonschema Released
SUSE Linux Enterprise Server 11 SP3 python27-lockfile Released
SUSE Linux Enterprise Server 11 SP3 python27-oauth Released
SUSE Linux Enterprise Server 11 SP3 python27-oauthlib Released
SUSE Linux Enterprise Server 11 SP3 python27-paramiko Released
SUSE Linux Enterprise Server 11 SP3 python27-ply Released
SUSE Linux Enterprise Server 11 SP3 python27-pyasn1 Released
SUSE Linux Enterprise Server 11 SP3 python27-pyasn1-modules Released
SUSE Linux Enterprise Server 11 SP3 python27-pycparser Released
SUSE Linux Enterprise Server 11 SP3 python27-pycrypto Released
SUSE Linux Enterprise Server 11 SP3 python27-pyserial Released
SUSE Linux Enterprise Server 11 SP3 python27-pytest Released
SUSE Linux Enterprise Server 11 SP3 python27-python-daemon Released
SUSE Linux Enterprise Server 11 SP3 python27-requests Released
SUSE Linux Enterprise Server 11 SP3 python27-s3transfer Released
SUSE Linux Enterprise Server 11 SP3 python27-setuptools Released
SUSE Linux Enterprise Server 11 SP3 python27-simplejson Released
SUSE Linux Enterprise Server 11 SP3 python27-six Released
SUSE Manager Server 3.2 python-PyJWT Released
SUSE OpenStack Cloud 7 python-PyJWT Released