A vulnerability in Motion allows a remote attacker to cause denial of service.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| media-video/motion | * | < 4.3.2 | >= 4.3.2 |
Motion is a program that monitors the video signal from one or more cameras and is able to detect motions.
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.
A remote attacker can trigger a denial of service condition in Motion.
There is no known workaround at this time.
All Motion users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-video/motion-4.3.2"
Multiple vulnerabilities in Motion might result in the execution of arbitrary code.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| media-video/motion | * | < 3.2.10.1 | >= 3.2.10.1 |
Motion is a program that monitors the video signal from one or more cameras and is able to detect motions.
Nico Golde reported an off-by-one error within the read_client() function in the webhttpd.c file, leading to a stack-based buffer overflow. Stefan Cornelius (Secunia Research) reported a boundary error within the same function, also leading to a stack-based buffer overflow. Both vulnerabilities require that the HTTP Control interface is enabled.
A remote attacker could exploit these vulnerabilities by sending an overly long or specially crafted request to a vulnerable Motion HTTP control interface, possibly resulting in the execution of arbitrary code with the privileges of the motion user.
There is no known workaround at this time.
All Motion users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose ">=media-video/motion-3.2.10.1"