-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Backport fix for CWE-862 to 5.4 #10878
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
Comments
Any hope at looking in this soon? |
@strowk Are you are using this dependency for your analysis? https://github.com/jeremylong/DependencyCheck At the moment it's not clear to me why the tool would report this problem. Note that Spring Security does have a Do you get the same warning if you upgrade to |
As to the why: that's because Sonatype's OSSINDEX reports it for the maven coordinates of the library (https://ossindex.sonatype.org/vulnerability/b2d59cf3-c3d9-4d25-af38-59224eb99ce1?component-type=maven&component-name=org.springframework.security.spring-security-core&utm_source=dependency-check&utm_medium=integration&utm_content=6.5.3) |
@eleftherias |
Hi. Is it possible to backport fix for 5.2.x ? We are using 5.2.15.RELEASE and this issue is also reported by: |
I believe this vulnerability was created by mistake. At this time we don't intend to backport gh-9795 because we do not believe it to be a vulnerability. |
@eleftherias , yeah, we do use that tool. Ok, I see that the problem is in the wrong security analysis. FYI if you wanna suppress this and are using same tool, following suppression is autogenerated from report page (but works only if you have at least xsd 1.3 in xmlns of your suppressions.xml) : <suppress>
<notes><![CDATA[
file name: spring-security-core-5.4.9.jar
]]></notes>
<packageUrl regex="true">^pkg:maven/org\.springframework\.security/spring\-security\-core@.*$</packageUrl>
<vulnerabilityName>CWE-862: Missing Authorization</vulnerabilityName>
</suppress> Not sure if this is best thing, but probably better than being stuck on this. I don't see necessity in this ticket, since no work appears to be planned |
Uh oh!
There was an error while loading. Please reload this page.
Expected Behavior
I would like if minor version 5.4 was available, which does not fail security analysis tools. Currently CWE-862 seems to not be fixed earlier than 5.6, but unfortunately we are unable to migrate to Spring Boot 5.5 at the moment.
These ones seem to be related:
#9931
#9795
Current Behavior
./gradlew dependencyCheckAnalyze
fails with following error:Context
We are not able to build our project anymore because of this security problem.
The text was updated successfully, but these errors were encountered: