Skip to content

fix(oss-licenses-plugin): sanitize newlines in Dependency.name to prevent metadata injection - #461

Open
timothyfroehlich wants to merge 1 commit into
mainfrom
froeht/fix-newline-injection
Open

fix(oss-licenses-plugin): sanitize newlines in Dependency.name to prevent metadata injection#461
timothyfroehlich wants to merge 1 commit into
mainfrom
froeht/fix-newline-injection

Conversation

@timothyfroehlich

Copy link
Copy Markdown
Member

Strip CR/LF characters and trim whitespace in Dependency constructor, and make key/name final to prevent Groovy setter bypass.

@timothyfroehlich
timothyfroehlich force-pushed the froeht/fix-newline-injection branch from 2172a66 to fe25d93 Compare September 9, 2026 19:21
…vent metadata injection

Strip CR/LF characters and trim whitespace in Dependency constructor, and make key/name final to prevent Groovy setter bypass.

BUG=557266592

CONV=b20a8ae9-55d6-4655-87f8-edba5da5028b

TAG=agy
@timothyfroehlich
timothyfroehlich force-pushed the froeht/fix-newline-injection branch from fe25d93 to 88b5b04 Compare September 9, 2026 19:57
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