VDB
Sign up
MEDIUM5.3

GHSA-xm6j-x342-gwq9

SilverStripe Versioned Files module Unpublished files are exposed publicly

Quick fix

GHSA-xm6j-x342-gwq9 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.3.5

Details

In the Versioned Files module through 2.0.3 for SilverStripe 3.x, unpublished versions of files are publicly exposed to anyone who can guess their URL. This guess could be highly informed by a basic understanding of the symbiote/silverstripe-versionedfiles source code. (Users who upgrade from SilverStripe 3.x to 4.x and had Versioned Files installed have no further need for this module, because the 4.x release has built-in versioning. However, nothing in the upgrade process automates the destruction of these insecure artefacts, nor alerts the user to the criticality of destruction.)

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symbiote/silverstripe-versionedfiles
Introduced in: 0

No fixed version published yet for symbiote/silverstripe-versionedfiles (composer). Pin to a known-safe version or switch to an alternative.

Packagist/silverstripe/framework
Introduced in: 4.0.0Fixed in: 4.3.5
Fixcomposer require silverstripe/framework:^4.3.5
Packagist/silverstripe/framework
Introduced in: 4.4.0Fixed in: 4.4.4
Fixcomposer require silverstripe/framework:^4.4.4

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/symbiote/silverstripe-versionedfiles"]}'