Advisory

UBUNTU-CVE-2023-27043

Also known as: CVE-2023-27043

Summary

The record has no summary.

Details

The email module of Python through 3.11.3 incorrectly parses e-mail addresses that contain a special character. The wrong portion of an RFC2822 header is identified as the value of the addr-spec. In some applications, an attacker can bypass a protection mechanism in which application access is granted only after verifying receipt of e-mail to a specific domain (e.g., only @company.example.com addresses may be used for signup). This occurs in email/_parseaddr.py in recent versions of Python.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Dates

Published
2023-04-19 00:15 UTC
Modified
2026-09-08 19:45 UTC

Affected packages and fixes

python3.8

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 3.8.10-0ubuntu1~20.04.12 (ecosystem)

Fixed versions

3.8.10-0ubuntu1~20.04.12

Fix

  • Fixed version 3.8.10-0ubuntu1~20.04.12
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.10

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.10.12-1~22.04.6 (ecosystem)

Fixed versions

3.10.12-1~22.04.6

Fix

  • Fixed version 3.10.12-1~22.04.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python3.12

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.12.3-1ubuntu0.2 (ecosystem)

Fixed versions

3.12.3-1ubuntu0.2

Fix

  • Fixed version 3.12.3-1ubuntu0.2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences