ADVISORIES

GitHub Advisory Database

GHSA-fgm3-q9r5-43v9

Romeo's invalid NetworkPolicy enables a malicious actor to pivot into another namespace

Details

Impact

Due to a mis-written NetworkPolicy, a malicious actor can pivot from the "hardened" namespace to any Pod out of it. This breaks the security-by-default property expected as part of the deployment program, leading to a potential lateral movement.

Patch

Removing the inter-ns NetworkPolicy patches the vulnerability. If updates are not possible in production environments, we recommend to manually delete it and update as soon as possible.

Workaround

Given your context, delete the failing network policy that should be prefixed by inter-ns- in the target namespace.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/ctfer-io/romeo/environment/deploy
All versions before 0.2.1 (fixed in 0.2.1)

References