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

Jsoup Direct vulnerabilities: CVE-2022-36033. Vulnerabilities from dependencies: CVE-2023-26049, CVE-2023-26048 #5

Closed
geugenm opened this issue Sep 13, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@geugenm
Copy link
Owner

geugenm commented Sep 13, 2023

Solution: update jsoup package to 1.16.1

But some Kotlin code updates required

Error log:

student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:75 Expected 2 parameters of types Node!, Int
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:75 Type mismatch: inferred type is () -> NodeFilter.FilterResult! but ((Node!, Int) -> NodeFilter.FilterResult!)! was expected
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:77:77 Unresolved reference: it
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:73 Expected 2 parameters of types Node!, Int
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:73 Type mismatch: inferred type is () -> NodeFilter.FilterResult! but ((Node!, Int) -> NodeFilter.FilterResult!)! was expected
student-bsu-by/app/src/main/java/github/alexzhirkevich/studentbsuby/repo/HostelRepository.kt:81:76 Unresolved reference: it
@geugenm geugenm added the bug Something isn't working label Sep 13, 2023
@geugenm
Copy link
Owner Author

geugenm commented Sep 13, 2023

NOTE: error log is a compilation error after upgrading to 1.15+ versions of jsoup(which are also vulnerable)

@geugenm
Copy link
Owner Author

geugenm commented Sep 13, 2023

Created a pull request with the fixed issue. Needs some tests

@geugenm geugenm assigned geugenm and unassigned Fabudi Sep 17, 2023
@geugenm geugenm closed this as completed Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants