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

bundle.js:85 TypeError: Cannot read property 'some' of undefined #722

Open
smgorelik opened this issue Jul 29, 2024 · 0 comments
Open

bundle.js:85 TypeError: Cannot read property 'some' of undefined #722

smgorelik opened this issue Jul 29, 2024 · 0 comments
Labels

Comments

@smgorelik
Copy link

smgorelik commented Jul 29, 2024

Describe the bug
The error is at the upload data at the GUI version of the latest 4.3.1 BloodHound. It seems that when i am uploading a json that was collected using Azure BloodHound collector - a reproduction is attached (anonymized numbers), this leads to the crash - bundle.js:85 TypeError: Cannot read property 'some' of undefined

Possibly there is no good processing for AZKeyVaultAccessPolicy , specially when the property "key" is missing ( for some AZKeyVaultAccessPolicy cases it may be missing)

{ "data": [ { "kind": "AZKeyVaultAccessPolicy", "data": { "objectId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "permissions": { "certificates": [ "Get" ], "secrets": [ "Get" ] }, "tenantId": "ffffffff-ffff-ffff-ffff-ffffffffffff", "keyVaultId": "/subscriptions/ffffffff-ffff-ffff-ffff-ffffffffffff/resourceGroups/azrgnpservices01/providers/Microsoft.KeyVault/vaults/azkvnpservices01" } } ], "meta": { "type": "azure", "version": 5, "count": 1 } }

image

Same error will exists if any of the other fields like certificates will be missing - which is possible

@smgorelik smgorelik added the bug label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant