7.5 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- 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): None (N)
- 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)
Activity log
- Created suggestion
aiosend: Deserialization of request body before signature verification (Pre-auth DoS) in webhook handler
aiosend is a synchronous and asynchronous Crypto Pay API client. Pror to version 3.0.7, `WebhookHandler.feed_update()` deserializes the entire request body before verifying the HMAC signature. This allows an unauthenticated attacker to force expensive parsing of arbitrary JSON payloads that will ultimately be rejected, leading to unnecessary CPU and memory consumption. Version 3.0.7 fixes the issue. Some workarounds are available. Restrict request body size at the reverse proxy or web framework, rate-limit webhook endpoints, and/or reject oversized requests before JSON parsing.
References
-
https://github.com/vovchic17/aiosend/security/advisories/GHSA-7m8f-hgjq-8gc9 x_refsource_CONFIRM
-
https://github.com/vovchic17/aiosend/releases/tag/v3.0.7 x_refsource_MISC
Affected products
- ==< 3.0.6
Matching in nixpkgs
pkgs.python313Packages.aiosendspin
Async Python library implementing the Sendspin Protocol
pkgs.python314Packages.aiosendspin
Async Python library implementing the Sendspin Protocol
pkgs.python313Packages.aiosendspin-mpris
MPRIS integration for aiosendspin
pkgs.python314Packages.aiosendspin-mpris
MPRIS integration for aiosendspin
Package maintainers
-
@mweinelt Martin Weinelt <hexa@darmstadt.ccc.de>
-
@emilylange Emily Lange <nix@emilylange.de>
-
@fabaff Fabian Affolter <mail@fabian-affolter.ch>