title: Registry-support: decompress can delete files outside scope via relative paths
description: A flaw was found in the decompression function of registry-support. This issue can be triggered if an unauthenticated remote attacker tricks a user into parsing a devfile which uses the `parent` or `plugin` keywords. This could download a malicious archive and cause the cleanup process to overwrite or delete files outside of the archive, which should not be allowed.
problem types: Relative Path Traversal
affected:
{
product: registry-support
vendor: n/a
defaultStatus: affected
}
{
vendor: Red Hat
product: OpenShift Developer Tools and Services
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: odo
defaultStatus: affected
cpes: cpe:/a:redhat:ocp_tools
}
{
vendor: Red Hat
product: Red Hat OpenShift Container Platform 4
collectionURL: https://access.redhat.com/downloads/content/package-browser/
packageName: openshift4/ose-console
defaultStatus: unaffected
cpes: cpe:/a:redhat:openshift:4
}
metrics:
other: [
content: {'value': 'Important', 'namespace': 'https://access.redhat.com/security/updates/classification/'}
type: Red Hat severity rating
]
workarounds: Limit or block the parsing of devfiles from untrusted sources.