Django security releases issued: 5.1.5, 5.0.11, and 4.2.18

In accordance with our security release policy, the Django team
is issuing releases for
Django 5.1.5,
Django 5.0.11, and
Django 4.2.18.
These releases address the security issues detailed below. We encourage all
users of Django to upgrade as soon as possible.

CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation

Lack of upper bound limit enforcement in strings passed when performing IPv6
validation could lead to a potential denial-of-service attack. The undocumented
and private functions clean_ipv6_address and is_valid_ipv6_address were
vulnerable, as was the django.forms.GenericIPAddressField form field,
which has now been updated to define a max_length of 39 characters.

The django.db.models.GenericIPAddressField model field was not affected.

Thanks to Saravana Kumar for the report.

This issue has severity “moderate” according to the Django security policy.

Affected supported versions

  • Django main
  • Django 5.1
  • Django 5.0
  • Django 4.2

Resolution

Patches to resolve the issue have been applied to Django’s
main, 5.1, 5.0, and 4.2 branches.
The patches may be obtained from the following changesets.

CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation

The following releases have been issued

The PGP key ID used for this release is Natalia Bidart: 2EE82A8D9470983E

General notes regarding security reporting

As always, we ask that potential security issues be reported via private email
to [email protected], and not via Django’s Trac instance, nor via
the Django Forum, nor via the django-developers list. Please see our security
policies
for further information.

Trump’s Cabinet picks face scrutiny on Capitol Hill this week as Biden prepares to say goodbye – CNN

  1. Trump’s Cabinet picks face scrutiny on Capitol Hill this week as Biden prepares to say goodbye  CNN
  2. Opinion | Which of Trump’s nominees should get confirmed? We made a chart.  The Washington Post
  3. Trump’s Cabinet picks are set for Senate hearings. Here’s the schedule  The Associated Press
  4. Confirmation Hearings Open in a Test of Trump’s Hold on Senate G.O.P.  The New York Times

Alleged looter dressed as fireman arrested in Pacific Palisades – KTLA Los Angeles

  1. Alleged looter dressed as fireman arrested in Pacific Palisades  KTLA Los Angeles
  2. LA fires death toll rises to 24 as high winds expected  BBC.com
  3. LA fire arrests: Man dressed as firefighter caught burglarizing home in Malibu area during California fires, sheriff says  ABC7 Los Angeles
  4. Amid Evacuations for the L.A. Fires, Fears of Looting Take Hold  The New York Times
  5. CA firefighters face impersonators, staffing shortages, low pay  NewsNation Now

Los Angeles Braces for Stronger Winds As Wildfires Continue to Spread – Business Insider

  1. Los Angeles Braces for Stronger Winds As Wildfires Continue to Spread  Business Insider
  2. California fires live updates: Fires rage as week of “Particularly Dangerous Situation” weather begins  Yahoo! Voices
  3. Video: Dangerous wind conditions return as firefighters in critical stage of containment  CNN
  4. Critical Fire Weather Continues For SoCal  The Weather Channel

Zelensky offers exchange of North Korean soldiers – BBC.com

  1. Zelensky offers exchange of North Korean soldiers  BBC.com
  2. Ukraine Says It Captured 2 North Korean Soldiers Fighting for Russia  The New York Times
  3. Zelensky ‘Ready’ to Hand North Korean POWs to Pyongyang  The Moscow Times
  4. Ukraine ready to return North Korean POWs to Kim Jong Un or find ‘other ways,’ Zelensky says  Kyiv Independent
  5. Zelenskyy ready to exchange N Korean soldiers for Ukrainians held in Russia  Al Jazeera English