obsolete

python-pillow-9.5.0-2.fc38

FEDORA-2023-13b03a90f9 created by smani a year ago for Fedora 38

Update patch for CVE-2023-44271

This update has been submitted for testing by smani.

a year ago

This update's test gating status has been changed to 'ignored'.

a year ago

This update has been pushed to testing.

a year ago
User Icon lbalhar commented & provided feedback a year ago
karma

This update is broken. You are using function _string_length_check in the code but that function is not defined. Moreover, not all vulnerable methods are fixed.

For example, this code should raise an error:

>>> from PIL import ImageFont
>>> loaded_font = ImageFont.truetype("./FreeMono.ttf", 20, layout_engine=ImageFont.Layout.BASIC)
>>> loaded_font.getlength("A" * 1000001)
12000012.0

And this one demonstrates the missing function:

>>> from PIL import ImageFont
>>> loaded_font = ImageFont.truetype("./FreeMono.ttf", 20, layout_engine=ImageFont.Layout.BASIC)
>>> loaded_font.getsize("A" * 1000001)
<stdin>:1: DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.11/site-packages/PIL/ImageFont.py", line 483, in getsize
    _string_length_check(text)
    ^^^^^^^^^^^^^^^^^^^^
NameError: name '_string_length_check' is not defined
BZ#2247821 CVE-2023-44271 python-pillow: uncontrolled resource consumption when textlength in an ImageDraw instance operates on a long text argument [fedora-all]

Bodhi is disabling automatic push to stable due to negative karma. The maintainer may push manually if they determine that the issue is not severe.

a year ago
User Icon filiperosset commented & provided feedback a year ago
karma

no regressions noted

This update can be pushed to stable now if the maintainer wishes

a year ago
User Icon abhis3k commented & provided feedback a year ago
karma

Works without issues till now

This update has been obsoleted by python-pillow-9.5.0-3.fc38.

a year ago

Please login to add feedback.

Metadata
Type
security
Severity
medium
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
disabled
Thresholds
Minimum Karma
+1
Minimum Testing
7 days
Dates
submitted
a year ago
in testing
a year ago
BZ#2247821 CVE-2023-44271 python-pillow: uncontrolled resource consumption when textlength in an ImageDraw instance operates on a long text argument [fedora-all]
-1
0

Automated Test Results