Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting python-twisted-web package, versions <0:12.1.0-5.el7_2


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating

    Threat Intelligence

    EPSS
    0.54% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RHEL7-PYTHONTWISTEDWEB-5364949
  • published 26 Mar 2023
  • disclosed 7 Jun 2018

How to fix?

Upgrade RHEL:7 python-twisted-web to version 0:12.1.0-5.el7_2 or higher.
This issue was patched in RHSA-2018:2927.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-twisted-web package and not the python-twisted-web package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

In the Bouncy Castle JCE Provider version 1.55 and earlier the DSA key pair generator generates a weak private key if used with default values. If the JCA key pair generator is not explicitly initialised with DSA parameters, 1.55 and earlier generates a private value assuming a 1024 bit key size. In earlier releases this can be dealt with by explicitly passing parameters to the key pair generator.