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

Drop tables before --init #5

Open
pl0psec opened this issue Feb 12, 2024 · 0 comments
Open

Drop tables before --init #5

pl0psec opened this issue Feb 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pl0psec
Copy link
Owner

pl0psec commented Feb 12, 2024

Tables needs to be dropped before --init and avoid key duplication

2024-02-12 17:24:37 | ERROR | [ MongoDB] Error inserting documents in cve: batch op errors occurred, full error: {'writeErrors': [{'index': 0, 'code': 11000, 'errmsg': 'E11000 duplicate key error collection: plopsec.cvemate_cve index: id_1 dup key: { id: "CVE-2006-2640" }', 'keyPattern': {'id': 1}, 'keyValue': {'id': 'CVE-2006-2640'}, 'op': {'id': 'CVE-2006-2640', 'nvd': {'id': 'CVE-2006-2640', 'sourceIdentifier': '[email protected]', 'published': '2006-05-30T10:02:00.000', 'lastModified': '2018-10-18T16:41:07.353', 'vulnStatus': 'Modified', 'descriptions': [{'lang': 'en', 'value': 'Cross-site scripting (XSS) vulnerability in OmegaMw7a.ASP in OMEGA (aka Omegasoft) INterneSErvicesLosungen (INSEL) allows remote attackers to inject arbitrary web script or HTML via the WCE parameter.'}], 'metrics': {'cvssMetricV2': [{'source': '[email protected]', 'type': 'Primary', 'cvssData': {'version': '2.0', 'vectorString': 'AV:N/AC:M/Au:N/C:P/I:P/A:N', 'accessVector': 'NETWORK', 'accessComplexity': 'MEDIUM', 'authentication': 'NONE', 'confidentialityImpact': 'PARTIAL', 'integrityImpact': 'PARTIAL', 'availabilityImpact': 'NONE', 'baseScore': 5.8}, 'baseSeverity': 'MEDIUM', 'exploitabilityScore': 8.6, 'impactScore': 4.9, 'acInsufInfo': False, 'obtainAllPrivilege': False, 'obtainUserPrivilege': False, 'obtainOtherPrivilege': False, 'userInteractionRequired': False}]}, 'weaknesses': [{'source': '[email protected]', 'type': 'Primary', 'description': [{'lang': 'en', 'value': 'NVD-CWE-Other'}]}], 'configurations': [{'nodes': [{'operator': 'OR', 'negate': False, 'cpeMatch': [{'vulnerable': True, 'criteria': 'cpe:2.3:a:omegasoft:interneserviceslosungen:*:*:*:*:*:*:*:*', 'matchCriteriaId': 'FAB1294C-9E74-4F26-AD18-3DD537716583'}]}]}], 'references': [{'url': 'http://secunia.com/advisories/20319', 'source': '[email protected]'}, {'url': 'http://securityreason.com/securityalert/970', 'source': '[email protected]'}, {'url': 'http://www.securityfocus.com/archive/1/435109/100/0/threaded', 'source': '[email protected]'}, {'url': 'http://www.vupen.com/english/advisories/2006/2072', 'source': '[email protected]'}, {'url': 'https://exchange.xforce.ibmcloud.com/vulnerabilities/26789', 'source': '[email protected]'}]}, '_id': ObjectId('65c9e3d248d2a0f9d46c088b')}}], 'writeConcernErrors': [], 'nInserted': 0, 'nUpserted': 0, 'nMatched': 0, 'nModified': 0, 'nRemoved': 0, 'upserted': []}
@pl0psec pl0psec added the bug Something isn't working label Feb 12, 2024
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

No branches or pull requests

1 participant