USN-9476-1: libgphoto2 vulnerability
It was discovered that libgphoto2 incorrectly handled certain Sierra protocol responses. A malicious camera or USB device could use this issue to cause a stack buffer overflow, resulting in a denial of service or possibly arbitrary code execution.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/libgphoto2-6t64to a version that resolves this vulnerability.Fixed in 2.5.33-1ubuntu2.2 - Upgrade
Upgrade
ubuntu/libgphoto2-6t64to a version that resolves this vulnerability.Fixed in 2.5.33-1ubuntu1.3 - Upgrade
Upgrade
ubuntu/libgphoto2-6t64to a version that resolves this vulnerability.Fixed in 2.5.31-2.1ubuntu1.3 - Upgrade
Upgrade
ubuntu/libgphoto2-6to a version that resolves this vulnerability.Fixed in 2.5.27-1ubuntu0.3 - Upgrade
Upgrade
ubuntu/libgphoto2-6to a version that resolves this vulnerability.Fixed in Ubuntu Pro
Event History
Frequently Asked Questions
What would an attacker need to exploit this issue?
An attacker would need to present a malicious camera or USB device that sends crafted Sierra protocol responses to software using the affected libgphoto2 packages.
What is the likely impact if exploitation succeeds?
The issue can cause a stack buffer overflow, leading to denial of service and potentially arbitrary code execution.
Which Ubuntu packages should be assessed for exposure?
Assess systems with ubuntu/libgphoto2-6 or ubuntu/libgphoto2-6t64 installed, particularly where cameras or other USB devices may be connected.