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

RUSTSEC-2020-0159: Potential segfault in localtime_r invocations #7634

Open
github-actions bot opened this issue Jan 19, 2022 · 2 comments
Open

RUSTSEC-2020-0159: Potential segfault in localtime_r invocations #7634

github-actions bot opened this issue Jan 19, 2022 · 2 comments

Comments

@github-actions
Copy link

Potential segfault in localtime_r invocations

Details
Package chrono
Version 0.4.19
URL chronotope/chrono#499
Date 2020-11-10

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

See advisory page for additional details.

@hawkw
Copy link
Member

hawkw commented Jan 19, 2022

Looks like we depend on chrono as a transitive dependency of several kube-rs crates:

:; cargo tree -p chrono -i
chrono v0.4.19
├── k8s-openapi v0.13.1
│   ├── kube v0.66.0
│   │   ├── linkerd-policy-controller v0.1.0 (/home/eliza/Code/linkerd2/policy-controller)
│   │   └── linkerd-policy-controller-k8s-api v0.1.0 (/home/eliza/Code/linkerd2/policy-controller/k8s/api)
│   │       ├── linkerd-policy-controller v0.1.0 (/home/eliza/Code/linkerd2/policy-controller)
│   │       └── linkerd-policy-controller-k8s-index v0.1.0 (/home/eliza/Code/linkerd2/policy-controller/k8s/index)
│   │           └── linkerd-policy-controller v0.1.0 (/home/eliza/Code/linkerd2/policy-controller)
│   ├── kube-client v0.66.0
│   │   ├── kube v0.66.0 (*)
│   │   └── kube-runtime v0.66.0
│   │       └── kube v0.66.0 (*)
│   ├── kube-core v0.66.0
│   │   ├── kube v0.66.0 (*)
│   │   └── kube-client v0.66.0 (*)
│   ├── kube-runtime v0.66.0 (*)
│   └── linkerd-policy-controller-k8s-api v0.1.0 (/home/eliza/Code/linkerd2/policy-controller/k8s/api) (*)
├── kube-client v0.66.0 (*)
└── kube-core v0.66.0 (*)

@olix0r
Copy link
Member

olix0r commented Jan 19, 2022

Waiting on resolution of kube-rs/kube#650 kube-rs/kube#660

As far as we understand, this does not describe an exploitable vulnerability in Linkerd's runtime artifacts, as we don't expose any means to alter these environment variables at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants