Security Advisories (1)
CVE-2022-1664 (2022-05-26)

Dpkg::Source::Archive in dpkg, the Debian package management system, before version 1.21.8, 1.20.10, 1.19.8, 1.18.26 is prone to a directory traversal vulnerability. When extracting untrusted source packages in v2 and v3 source package formats that include a debian.tar, the in-place extraction can lead to directory traversal situations on specially crafted orig.tar and debian.tar tarballs.

NAME

Dpkg::Exit - program exit handlers

DESCRIPTION

The Dpkg::Exit module provides support functions to run handlers on exit.

FUNCTIONS

push_exit_handler($func)

Register a code reference into the exit function handlers stack.

pop_exit_handler()

Pop the last registered exit handler from the handlers stack.

run_exit_handlers()

Run the registered exit handlers.

CHANGES

Version 1.01 (dpkg 1.17.2)

New functions: push_exit_handler(), pop_exit_handler(), run_exit_handlers()

Deprecated variable: @handlers

Version 1.00 (dpkg 1.15.6)

Mark the module as public.