Skip to content

MINOR: Clarify components not considered for security issues#22048

Merged
mimaison merged 1 commit intoapache:trunkfrom
mimaison:security-recommandations
Apr 14, 2026
Merged

MINOR: Clarify components not considered for security issues#22048
mimaison merged 1 commit intoapache:trunkfrom
mimaison:security-recommandations

Conversation

@mimaison
Copy link
Copy Markdown
Member

@mimaison mimaison commented Apr 14, 2026

The Apache Kafka project regularly receives, and rejects, security
reports for these components. Add notes explaining why the project don't
consider these as security issues. This will hopefully reduce the number
of duplicate reports we receive or at least give us something we can
point reporters to.

Reviewers: Luke Chen showuon@gmail.com, Josep Prat
josep.prat@aiven.io

Copy link
Copy Markdown
Member

@showuon showuon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks.

Copy link
Copy Markdown
Contributor

@jlprat jlprat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM I just have a tiny nitpick but feel free to merge anyway

*
* <p><b>NOTE: This implementation is NOT intended to be used in production since the credentials are stored in PLAINTEXT in the
* properties file.</b>
* properties file. For this reason, Apache Kafka project does not consider this a security issue.</b>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick, you can close the p tag started 2 lines up. I know this was already broken but semantically it makes it better

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the javadoc spec allows to omit the closing tags for a few elements including p

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will work absolutely, it's just a nit from my times writing HTML code

/**
* Security note: While it seems it possible to build a deserialization gadget to obtain RCE via
* FileOffsetBackingStore, it requires having write permissions on the filesystem of the Connect worker.
* For that reason the Apache Kafka project does not consider this a security issue.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly, if you want the break lines shown in javadoc you can either add p elements or br ones

@mimaison mimaison merged commit f8aa614 into apache:trunk Apr 14, 2026
29 checks passed
@mimaison mimaison deleted the security-recommandations branch April 14, 2026 12:11
nileshkumar3 pushed a commit to nileshkumar3/kafka that referenced this pull request Apr 15, 2026
…22048)

The Apache Kafka project regularly receives, and rejects, security
reports for these components. Add notes explaining why the project don't
consider these as security issues. This will hopefully reduce the number
of duplicate reports we receive or at least give us something we can
point reporters to.

Reviewers: Luke Chen <showuon@gmail.com>, Josep Prat
 <josep.prat@aiven.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants