VDB
EN
MEDIUM 5.3

GHSA-c2xx-cjmh-9q8f

Wagtail: Improper restriction handling on descendant collections in Documents and Images API

빠른 조치

GHSA-c2xx-cjmh-9q8f — wagtail: 아래 명령으로 수정 버전으로 올리세요.

pip install --upgrade 'wagtail>=7.0.9'

상세

### Impact

The Documents and Images [API V2](https://docs.wagtail.org/en/stable/advanced_topics/api/index.html) incorrectly listed items in descendants of private collections, which should inherit the view restrictions defined on their ancestors. A user with access to the API could see the filename and name of documents and images in these descendant collections.

### Patches

Patched versions have been released as Wagtail 7.0.9, 7.3.4, 7.4.3 and 8.0rc2.

### Workarounds

Site owners using Wagtail's API can avoid the vulnerability by adding [authentication](https://docs.wagtail.org/en/stable/advanced_topics/api/v2/configuration.html#authentication) to the Documents and Images APIs.

### Acknowledgements

Many thanks to Ta Duc Thien for reporting this issue.

### For more information If you have any questions or comments about this advisory:

* Visit Wagtail's [support channels](https://docs.wagtail.org/en/stable/support.html) * Email us at [security@wagtail.org](mailto:security@wagtail.org) (view our [security policy](https://github.com/wagtail/wagtail/security/policy) for more information).

이 버전이 영향받나요?

사용 중인 패키지 버전을 입력하면 즉시 평가합니다.

영향 패키지

PyPI / wagtail
최초 영향 버전: 0 수정 버전: 7.0.9
수정 pip install --upgrade 'wagtail>=7.0.9'
PyPI / wagtail
최초 영향 버전: 7.1 수정 버전: 7.3.4
수정 pip install --upgrade 'wagtail>=7.3.4'
PyPI / wagtail
최초 영향 버전: 7.4 수정 버전: 7.4.3
수정 pip install --upgrade 'wagtail>=7.4.3'
PyPI / wagtail
최초 영향 버전: 8.0rc1 수정 버전: 8.0rc2
수정 pip install --upgrade 'wagtail>=8.0rc2'

참고