6.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): None (N)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): None (N)
- Modified Availability (MA): High (H)
by @erictapen Activity log
- Created suggestion
-
@erictapen
ignored
5 packages
- haskellPackages.iCalendar
- python314Packages.icalendar-compatibility
- python313Packages.icalendar-compatibility
- python313Packages.icalendar-searcher
- python314Packages.icalendar-searcher
- @erictapen accepted
- @erictapen published on GitHub
icalendar: Denial of service via unbounded VALARM REPEAT expansion
icalendar is an RFC 5545 compatible parser and generator of iCalendar files for Python. From 6.1.0 until 7.2.2, vInt.from_ical accepts an attacker-controlled VALARM REPEAT value and applications that request alarm times can eagerly expand it without an application-level limit. Alarms.times and Alarms.active reach the unbounded expansion in versions starting with 6.1.0, while Alarm.triggers adds a second affected path starting with 7.0.0. Parsing alone does not trigger the issue, but accessing these properties can consume excessive CPU time and heap memory and terminate or stall a service. This issue is fixed in version 7.2.2.
References
-
https://github.com/collective/icalendar/security/advisories/GHSA-qjcq-q7h7-r74v x_refsource_CONFIRM
-
https://github.com/collective/icalendar/pull/1571 x_refsource_MISC
-
https://github.com/collective/icalendar/releases/tag/v7.2.2 x_refsource_MISC
Affected products
- ==>= 6.1.0, < 7.2.2
Matching in nixpkgs
pkgs.python313Packages.icalendar
Parser/generator of iCalendar files
pkgs.python314Packages.icalendar
Parser/generator of iCalendar files
Ignored packages (5)
pkgs.haskellPackages.iCalendar
iCalendar data types, parser, and printer
pkgs.python313Packages.icalendar-searcher
Search, filter and sort iCalendar components
pkgs.python314Packages.icalendar-searcher
Search, filter and sort iCalendar components
Package maintainers
-
@olcai Erik Timan <dev@timan.info>