Lucene search

K
amazonAmazonALAS2-2023-2008
HistoryMar 30, 2023 - 6:56 p.m.

Medium: python-twisted-web

2023-03-3018:56:00
alas.aws.amazon.com
20
twisted framework
python
html injection
host header
security advisory

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.8

Confidence

High

EPSS

0.002

Percentile

52.1%

Issue Overview:

Twisted is an event-based framework for internet applications. Started with version 0.9.4, when the host header does not match a configured host twisted.web.vhost.NameVirtualHost will return a NoResource resource which renders the Host header unescaped into the 404 response allowing HTML and script injection. In practice this should be very difficult to exploit as being able to modify the Host header of a normal HTTP request implies that one is already in a privileged position. This issue was fixed in version 22.10.0rc1. There are no known workarounds. (CVE-2022-39348)

Affected Packages:

python-twisted-web

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update python-twisted-web to update your system.

New Packages:

aarch64:  
    python-twisted-web-12.1.0-8.amzn2.0.1.aarch64  
  
i686:  
    python-twisted-web-12.1.0-8.amzn2.0.1.i686  
  
src:  
    python-twisted-web-12.1.0-8.amzn2.0.1.src  
  
x86_64:  
    python-twisted-web-12.1.0-8.amzn2.0.1.x86_64  

Additional References

Red Hat: CVE-2022-39348

Mitre: CVE-2022-39348

CVSS3

5.4

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI Score

5.8

Confidence

High

EPSS

0.002

Percentile

52.1%