Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Currently json schema validator is using com.sun.mail which depends on Java Mail API 1.6.2 and has vulnerabilities , should use jakarta mail instead. #411

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

naveengujjar29
Copy link

Json shcema validator is using internally AddressException and InternetAddress for mail field validation from javax.mail.internet package which has dependency on Java Mail API (https://mvnrepository.com/artifact/com.sun.mail/javax.mail/1.6.2) and this version has the vulnerabilities.

If you see this has been moved to a new artifact https://mvnrepository.com/artifact/com.sun.mail/jakarta.mail which has more latest version and does not have any vulnerabilities.

We should also use the same in this repo. This PR has been raised for the same changes.

… been moved

Using jakarta mail latest instead of com.sun as mailapi artificat has been moved.
…s has been moved to jakarta.

Uisng Jakarta mail imports instead of javax mail as mail api artifacts has been moved to jakarta.
@naveengujjar29 naveengujjar29 changed the title Currently json schema validator is using com.sun.mail which depends on Java Mail API 1.6.2 and has vulnerability Currently json schema validator is using com.sun.mail which depends on Java Mail API 1.6.2 and has vulnerabilities , should use jakarta mail instead. Oct 26, 2023
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