Skip to content

Reject DWA RLE and UNKNOWN streams shorter than required channel data.#2545

Open
cary-ilm wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
cary-ilm:fix-GHSA-dwa-rle-unknown
Open

Reject DWA RLE and UNKNOWN streams shorter than required channel data.#2545
cary-ilm wants to merge 1 commit into
AcademySoftwareFoundation:mainfrom
cary-ilm:fix-GHSA-dwa-rle-unknown

Conversation

@cary-ilm

Copy link
Copy Markdown
Member

After DwaCompressor_setupChannelData(), sum planarUncSize for each compression type and reject chunks whose declared stream sizes are too small or present when no channels use that type.

Addresses https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-cx6p-vjc6-3php

Addresses https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-wwx8-2v36-rhr8

After DwaCompressor_setupChannelData(), sum planarUncSize for each
compression type and reject chunks whose declared stream sizes are
too small or present when no channels use that type.

Addresses https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-cx6p-vjc6-3php

Addresses https://github.com/AcademySoftwareFoundation/openexr/security/advisories/GHSA-wwx8-2v36-rhr8

Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Cary Phillips <seabeepea@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant