Gentoo: GLSA-202208-18: Motion: Denial of service
Summary
The Motion HTTP server does not correctly perform URL decoding. If the HTTP server receives a request for a URL containing an incomplete percent-encoded character, a flaw in parsing results in an infinite loop trying to parse the rest of the character, which eventually results in a denial of service condition when reading out-of-bounds.
Resolution
All Motion users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-video/motion-4.3.2"
References
[ 1 ] CVE-2020-26566 https://nvd.nist.gov/vuln/detail/CVE-2020-26566
Availability
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/202208-18
Concerns
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Background
Motion is a program that monitors the video signal from one or more cameras and is able to detect motions.
Affected Packages
------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 media-video/motion < 4.3.2 >= 4.3.2
Impact
===== A remote attacker can trigger a denial of service condition in Motion.
Workaround
There is no known workaround at this time.