{"id":4220071,"name":"parse_duration","ecosystem":"cargo","description":"Parses a duration from a string.","homepage":"https://github.com/zeta12ti/parse_duration/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/zeta12ti/parse_duration","keywords_array":["date","parse","duration","string"],"namespace":null,"versions_count":9,"first_release_published_at":"2017-08-14T09:25:12.632Z","latest_release_published_at":"2021-03-25T04:51:45.223Z","latest_release_number":"2.1.1","last_synced_at":"2026-07-01T19:17:05.090Z","created_at":"2022-04-12T21:53:45.960Z","updated_at":"2026-07-01T21:12:59.835Z","registry_url":"https://crates.io/crates/parse_duration/","install_command":"cargo install parse_duration","documentation_url":"https://docs.rs/parse_duration/","metadata":{"categories":["command-line-interface","parsing"]},"repo_metadata":{"id":56428931,"uuid":"100106462","full_name":"zeta12ti/parse_duration","owner":"zeta12ti","description":"Parses a duration from a string.","archived":false,"fork":false,"pushed_at":"2021-03-25T04:56:22.000Z","size":41,"stargazers_count":16,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-23T23:36:11.073Z","etag":null,"topics":["duration","parse","string"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeta12ti.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-12T10:54:30.000Z","updated_at":"2024-04-23T23:36:11.074Z","dependencies_parsed_at":"2022-08-15T18:31:17.055Z","dependency_job_id":null,"html_url":"https://github.com/zeta12ti/parse_duration","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeta12ti","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":214773831,"owners_count":15782857,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"tags":[{"name":"v2.1.0","sha":"26940ab5cd4e3a9d6bd97aa101f8d4bbfd18ee8c","kind":"commit","published_at":"2020-02-21T06:11:51.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/v2.1.0","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/v2.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.1.0/manifests"},{"name":"v2.0.1","sha":"a3366f8475ace1f71a3117d7e439e7c099ef5f35","kind":"commit","published_at":"2019-09-23T04:59:05.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/v2.0.1","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"f2de599e6711a977600a562974910edd853d11f2","kind":"commit","published_at":"2019-09-23T03:01:31.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/v2.0.0","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v2.0.0/manifests"},{"name":"v1.0.3","sha":"c25f3387eb43fe315c51efe236d841fb0ed6a547","kind":"commit","published_at":"2019-09-09T08:59:33.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/v1.0.3","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"a0e1518abd31904a03f46dbcec7bcfe2767282ff","kind":"commit","published_at":"2019-08-18T07:28:51.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/v1.0.2","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/v1.0.2/manifests"},{"name":"1.0.0","sha":"95f242f6fa094b35c8b69348af1c2dd1bffa9ce3","kind":"commit","published_at":"2017-08-14T12:47:41.000Z","download_url":"https://codeload.github.com/zeta12ti/parse_duration/tar.gz/1.0.0","html_url":"https://github.com/zeta12ti/parse_duration/releases/tag/1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/tags/1.0.0/manifests"}]},"repo_metadata_updated_at":"2024-08-10T08:56:03.161Z","dependent_packages_count":45,"downloads":5014473,"downloads_period":"total","dependent_repos_count":109,"rankings":{"downloads":1.8430716843415258,"dependent_repos_count":3.449961429477045,"dependent_packages_count":1.1505141407813717,"stargazers_count":24.75643649024219,"forks_count":26.321256186228386,"docker_downloads_count":0.8978675645342313,"average":9.736517915934124},"purl":"pkg:cargo/parse_duration","advisories":[{"uuid":"MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4","url":"https://github.com/advisories/GHSA-qpgv-g792-wh6x","title":"Uncontrolled Resource Consumption in parse_duration","description":"An issue was discovered in the parse_duration crate through 2021-03-18 for Rust. It allows attackers to cause a denial of service (CPU and memory consumption) via a duration string with a large exponent.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2021-08-25T20:54:04.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","references":["https://nvd.nist.gov/vuln/detail/CVE-2021-29932","https://github.com/zeta12ti/parse_duration/issues/21","https://rustsec.org/advisories/RUSTSEC-2021-0041.html","https://github.com/advisories/GHSA-qpgv-g792-wh6x"],"source_kind":"github","identifiers":["GHSA-qpgv-g792-wh6x","CVE-2021-29932"],"repository_url":"https://github.com/zeta12ti/parse_duration","blast_radius":0.0,"created_at":"2022-12-21T16:12:55.808Z","updated_at":"2026-07-01T20:11:32.310Z","epss_percentage":0.00973,"epss_percentile":0.57521,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4","html_url":"https://advisories.ecosyste.ms/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4","packages":[{"ecosystem":"cargo","package_name":"parse_duration","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 2.1.1"}],"purl":"pkg:cargo/parse_duration","statistics":{"dependent_packages_count":45,"dependent_repos_count":109,"downloads":5001390,"downloads_period":"total"},"affected_versions":["0.1.0","1.0.0","1.0.1","1.0.2","1.0.3","2.0.0","2.0.1","2.1.0","2.1.1"],"unaffected_versions":[]}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXFwZ3YtZzc5Mi13aDZ4/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/cargo/parse_duration","docker_dependents_count":32,"docker_downloads_count":23286222,"usage_url":"https://repos.ecosyste.ms/usage/cargo/parse_duration","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/cargo/parse_duration/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-08-10T08:56:02.140Z","issues_count":4,"pull_requests_count":17,"avg_time_to_close_issue":31114.0,"avg_time_to_close_pull_request":4038783.4375,"issues_closed_count":1,"pull_requests_closed_count":16,"pull_request_authors_count":4,"issue_authors_count":4,"avg_comments_per_issue":2.5,"avg_comments_per_pull_request":0.23529411764705882,"merged_pull_requests_count":14,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeta12ti%2Fparse_duration/issues","maintainers":[{"login":"zeta12ti","count":14,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/zeta12ti"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/packages/parse_duration/codemeta","maintainers":[{"uuid":"7181","login":"zeta12ti","name":null,"email":null,"url":"https://github.com/zeta12ti","packages_count":2,"html_url":"https://crates.io/users/zeta12ti","role":null,"created_at":"2022-11-07T22:55:54.123Z","updated_at":"2022-11-07T22:55:54.123Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/crates.io/maintainers/zeta12ti/packages"}]}