I’m trying to update SCAP but I’m not able to do so due to XML parser error.
gvmd-1 | /var/lib/gvm/scap-data/nvdcve-2.0-2024.xml:3270: parser error : PCDATA invalid Char value 2
gvmd-1 | stored in cleartext within a resource that might be accessible to another contr
gvmd-1 | ^
gvmd-1 | md manage: INFO:2024-06-13 14h39.16 UTC:66: Updating /var/lib/gvm/scap-data/nvdcve-2.0-2024.xml
gvmd-1 | md manage:WARNING:2024-06-13 14h39.16 UTC:66: Update of CVEs failed at file '/var/lib/gvm/scap-data/nvdcve-2.0-2024.xml': error parsing XML (line 3270 column 69): PCDATA invalid Char value 2
gvmd-1 | md manage: INFO:2024-06-13 14h39.17 UTC:66: Updating Max CVSS for DFN-CERT
gvmd-1 | md manage: INFO:2024-06-13 14h39.18 UTC:66: Updating DFN-CERT CVSS max succeeded.
gvmd-1 | md manage: INFO:2024-06-13 14h39.18 UTC:66: Updating Max CVSS for CERT-Bund
gvmd-1 | md manage: INFO:2024-06-13 14h39.18 UTC:66: Updating CERT-Bund CVSS max succeeded.
gvmd-1 | md manage: INFO:2024-06-13 14h39.18 UTC:66: abort_scap_update: Updating SCAP data aborted
Upon checking line 3270 in ‘nvdcve-2.0-2024.xml’ file.
How do I resolve this issue? I’m using docker compose. First encountered in greenbone/scap-data:202406121238. I need to use greenbone/scap-data:202406120500 as alternative to load CVEs and CPEs properly.