← 输入框|github.com|刷新
Skip to content

DefectDojo Hook v5.3.0 fails with Java Error #3414

Closed

Description

@J12934

🐞 Bug report

Describe the bug

When running DefectDojo Hook in v5.3.0 were getting this error

Steps To Reproduce

  • Install Hook in v5.3.0
  • Run any scan

Expected behavior

works

System (please complete the following information):

  • secureCodeBox v5.3.0
  • Kubernetes Version 1.33

Screenshots / Logs

2025-12-10 09:41:35 INFO  DefectDojoPersistenceProvider:83 - Starting DefectDojo persistence provider
2025-12-10 09:41:38 INFO  DefectDojoPersistenceProvider:99 - Downloading Scan Result
2025-12-10 09:41:39 INFO  DefectDojoPersistenceProvider:104 - Uploading Findings to DefectDojo at: https://defectdojo.example.com
Exception in thread "main" java.lang.IncompatibleClassChangeError: Class org.springframework.http.HttpHeaders does not implement the requested interface org.springframework.util.MultiValueMap
	at org.springframework.http.HttpHeaders.isEmpty(HttpHeaders.java:1898)
	at org.springframework.web.client.RestTemplate$HttpEntityRequestCallback.doWithRequest(RestTemplate.java:947)
	at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:752)
	at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:715)
	at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:580)
	at io.securecodebox.persistence.defectdojo.service.GenericDefectDojoService.internalSearch(GenericDefectDojoService.java:123)
	at io.securecodebox.persistence.defectdojo.service.GenericDefectDojoService.search(GenericDefectDojoService.java:139)
	at io.securecodebox.persistence.defectdojo.service.GenericDefectDojoService.search(GenericDefectDojoService.java:152)
	at io.securecodebox.persistence.strategies.VersionedEngagementsStrategy.run(VersionedEngagementsStrategy.java:82)
	at io.securecodebox.persistence.DefectDojoPersistenceProvider.execute(DefectDojoPersistenceProvider.java:107)
	at io.securecodebox.persistence.DefectDojoPersistenceProvider.main(DefectDojoPersistenceProvider.java:65)

Additional context

Might have also been broken in v5.2.0, we skipped the release in our env :(

Activity

  1. J12934 commented on Dec 10, 2025

    @J12934
    MemberAuthor

    Probably broken due to this Update: #3390

  2. moved this from Triage to Backlog in secureCodeBoxon Dec 10, 2025
  3. added theissue type on Dec 10, 2025
  4. added
    defectdojoAll issues regarding the DefectDojo Integration
    on Dec 10, 2025
  5. moved this from Backlog to Todo in secureCodeBoxon Dec 11, 2025
  6. kaz-33 commented on Dec 12, 2025

    @kaz-33

    I confirm that it works, the workaround used is the image from the previous version in your workload:
    docker.io/securecodebox/hook-persistence-defectdojo:5.0.0@sha256:22916fef50100ecd68a1ba2ffe5c4206e28e957ac7f805749a4de3b997f4033c

  7. self-assigned this
    on Dec 17, 2025
  8. moved this from Todo to In Progress in secureCodeBoxon Dec 17, 2025
  9. Weltraumschaf commented on Dec 17, 2025

    @Weltraumschaf
    Member

    Probably broken due to this Update: #3390

    This must be reverted and Dependabot configured to not upgrade Spring to v 7.

  10. added a commit that references this issue on Dec 18, 2025
  11. added a commit that references this issue on Dec 18, 2025
  12. moved this from In Progress to Done in secureCodeBoxon Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugBugsdefectdojoAll issues regarding the DefectDojo Integration

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions