PyPi: Pfun

CVE-2021-21330

Transitive

Safety vulnerability ID: 40141

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 26, 2021 Updated at Nov 24, 2023
Scan your Python projects for vulnerabilities →

Advisory

Pfun 0.12.0 updates the 'aiohttp' dependency to 3.7.4 to avoid an open redirect vulnerability.

Affected package

pfun

Latest version: 0.13.2

Functional, composable, asynchronous, type-safe Python.

Affected versions

Fixed versions

Vulnerability changelog

Features
- `pfun.effect` is now implemented in Cython, which greatly improves trampoline interpretation speed
- `pfun.maybe` and `pfun.either` are now both [tagged unions](https://mypy.readthedocs.io/en/stable/literal_types.html#tagged-unions) implemented through `__bool__`, which allows you to narrow the type using `if` statements instead of the more verbose `isinstance`

Fixes
- `aiohttp` dependency version is increased to 3.7.4 to avoid [open redirect vulnerability](https://github.com/advisories/GHSA-v6wp-4m6f-gcjg)

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

MEDIUM 6.1

CVSS v3 Details

MEDIUM 6.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
CHANGED
Confidentiality Impact (C)
LOW
Integrity Impact (I)
LOW
Availability Availability (A)
NONE

CVSS v2 Details

MEDIUM 5.8
Access Vector (AV)
NETWORK
Access Complexity (AC)
MEDIUM
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
PARTIAL
Availability Impact (A)
NONE