Improper Preservation of Permissions Affecting Open this link in a new tab package, versions <1.4.1

  • Attack Complexity


Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id


  • published

    21 Nov 2021

  • disclosed

    19 Nov 2021

  • credit

    Ties de Kock

How to fix?

Upgrade to version 1.4.1 or higher.

Overview is a RPKI validator.

Affected versions of this package are vulnerable to Improper Preservation of Permissions. When copying files with rsync, octorpki uses the -a flag 0, which forces rsync to copy binaries with the SUID bit set as root. Since the provided service definition defaults to root, this could allow for a vector, when combined with another vulnerability that causes octorpki to process a malicious TAL file, for a local privilege escalation.