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

Keep files cached on rename dir #317

Merged
merged 21 commits into from
Sep 18, 2024

fix diff

967dd34
Select commit
Loading
Failed to load commit list.
Merged

Keep files cached on rename dir #317

fix diff
967dd34
Select commit
Loading
Failed to load commit list.
Mend for GitHub.com / Mend Code Security Check failed Sep 18, 2024 in 1m 11s

Code Security Report

New findings (1)

The Code Security Check detected a total of 1 new finding.

SeverityVulnerability TypeCWEFileData FlowsDate
HighInsecure File Permissions

CWE-732

loopback_fs.go:253

12024-04-02 02:23pm
Vulnerable Code

func (lfs *LoopbackFS) ReadInBuffer(options internal.ReadInBufferOptions) (int, error) {
log.Trace("LoopbackFS::ReadInBuffer : name=%s", options.Handle.Path)
f := options.Handle.GetFileObject()
if f == nil {
f1, err := os.OpenFile(common.JoinUnixFilepath(lfs.path, options.Handle.Path), os.O_RDONLY, 0777)

1 Data Flow/s detected

f1, err := os.OpenFile(common.JoinUnixFilepath(lfs.path, options.Handle.Path), os.O_RDONLY, 0777)

Secure Code Warrior Training Material

Resolved findings (1)

With your last commit you resolved 1 finding.

SeverityVulnerability TypeCWEFileData FlowsDate
HighInsecure File Permissions

CWE-732

loopback_fs.go:256

12024-09-18 05:02pm

Overall findings

The Code Security Check detected a total of 24 findings, 15 of them high severity. More details about the overall state can be found in the Mend Application.


Scan token: e6f1ba0c5ab8403ca19c62a7618db3db